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>
This commit is contained in:
Finn Thain
2018-03-29 11:36:04 +11:00
committed by Michael Ellerman
parent 741de61766
commit 3a52f6f980
5 changed files with 35 additions and 36 deletions

View File

@@ -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)