aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-macii.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/via-macii.c
parent741de617661794246f84a21a02fc5e327bffc9ad (diff)
downloadlinux-3a52f6f980c45b0dfa667f30d3ff034d033d260f.tar.gz
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/via-macii.c')
-rw-r--r--drivers/macintosh/via-macii.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/macintosh/via-macii.c b/drivers/macintosh/via-macii.c
index 4ba06a1695ea16..cf6f7d52d6beef 100644
--- a/drivers/macintosh/via-macii.c
+++ b/drivers/macintosh/via-macii.c
@@ -91,13 +91,13 @@ static void macii_poll(void);
static int macii_reset_bus(void);
struct adb_driver via_macii_driver = {
- "Mac II",
- macii_probe,
- macii_init,
- macii_send_request,
- macii_autopoll,
- macii_poll,
- macii_reset_bus
+ .name = "Mac II",
+ .probe = macii_probe,
+ .init = macii_init,
+ .send_request = macii_send_request,
+ .autopoll = macii_autopoll,
+ .poll = macii_poll,
+ .reset_bus = macii_reset_bus,
};
static enum macii_state {