summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-macii.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-03-29 02:36:04 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-30 15:10:32 +0200
commit3a52f6f980c45b0dfa667f30d3ff034d033d260f (patch)
treed4698bf927843c2e72ca0769630e888d0e7e46f2 /drivers/macintosh/via-macii.c
parentpowerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() (diff)
downloadlinux-3a52f6f980c45b0dfa667f30d3ff034d033d260f.tar.xz
linux-3a52f6f980c45b0dfa667f30d3ff034d033d260f.zip
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 4ba06a1695ea..cf6f7d52d6be 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 {