summaryrefslogtreecommitdiff
path: root/drivers/macintosh/adb-iop.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-03-29 11:36:04 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-31 00:10:32 +1100
commit3a52f6f980c45b0dfa667f30d3ff034d033d260f (patch)
treed4698bf927843c2e72ca0769630e888d0e7e46f2 /drivers/macintosh/adb-iop.c
parent741de617661794246f84a21a02fc5e327bffc9ad (diff)
macintosh/adb: Use C99 initializers for struct adb_driver instances
No change to object files. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh/adb-iop.c')
-rw-r--r--drivers/macintosh/adb-iop.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/macintosh/adb-iop.c b/drivers/macintosh/adb-iop.c
index 15db69d8ba69..ca623e6446e4 100644
--- a/drivers/macintosh/adb-iop.c
+++ b/drivers/macintosh/adb-iop.c
@@ -53,13 +53,13 @@ static void adb_iop_poll(void);
static int adb_iop_reset_bus(void);
struct adb_driver adb_iop_driver = {
- "ISM IOP",
- adb_iop_probe,
- adb_iop_init,
- adb_iop_send_request,
- adb_iop_autopoll,
- adb_iop_poll,
- adb_iop_reset_bus
+ .name = "ISM IOP",
+ .probe = adb_iop_probe,
+ .init = adb_iop_init,
+ .send_request = adb_iop_send_request,
+ .autopoll = adb_iop_autopoll,
+ .poll = adb_iop_poll,
+ .reset_bus = adb_iop_reset_bus
};
static void adb_iop_end_req(struct adb_request *req, int state)