From c95c79a580d50ff054bf593acaede855dd4c6d12 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Sun, 18 Sep 2022 16:04:23 -0400 Subject: [PATCH] named initializers in isapnp --- src/device/isapnp.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/device/isapnp.c b/src/device/isapnp.c index 45752a3ca..669a45eec 100644 --- a/src/device/isapnp.c +++ b/src/device/isapnp.c @@ -1064,11 +1064,15 @@ isapnp_reset_device(void *priv, uint8_t ldn) static const device_t isapnp_device = { - "ISA Plug and Play", - "isapnp", - 0, - 0, - isapnp_init, isapnp_close, NULL, - { NULL }, NULL, NULL, - NULL + .name = "ISA Plug and Play", + .internal_name = "isapnp", + .flags = 0, + .local = 0, + .init = isapnp_init, + .close = isapnp_close, + .reset = NULL, + { .available = NULL }, + .speed_changed = NULL, + .force_redraw = NULL, + .config = NULL };