diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-03-29 11:36:04 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-31 00:10:32 +1100 |
commit | 3a52f6f980c45b0dfa667f30d3ff034d033d260f (patch) | |
tree | d4698bf927843c2e72ca0769630e888d0e7e46f2 /drivers/macintosh/via-pmu68k.c | |
parent | 741de617661794246f84a21a02fc5e327bffc9ad (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/via-pmu68k.c')
-rw-r--r-- | drivers/macintosh/via-pmu68k.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/macintosh/via-pmu68k.c b/drivers/macintosh/via-pmu68k.c index 25465fb91ec9..de69369cdb2d 100644 --- a/drivers/macintosh/via-pmu68k.c +++ b/drivers/macintosh/via-pmu68k.c @@ -119,13 +119,13 @@ static void pmu_enable_backlight(int on); static void pmu_set_brightness(int level); struct adb_driver via_pmu_driver = { - "68K PMU", - pmu_probe, - pmu_init, - pmu_send_request, - pmu_autopoll, - pmu_poll, - pmu_reset_bus + .name = "68K PMU", + .probe = pmu_probe, + .init = pmu_init, + .send_request = pmu_send_request, + .autopoll = pmu_autopoll, + .poll = pmu_poll, + .reset_bus = pmu_reset_bus, }; /* |