diff options
Diffstat (limited to 'src/superio/smsc/lpc47m15x/superio.c')
-rw-r--r-- | src/superio/smsc/lpc47m15x/superio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c index 814b70ef69..41339c1b7b 100644 --- a/src/superio/smsc/lpc47m15x/superio.c +++ b/src/superio/smsc/lpc47m15x/superio.c @@ -45,17 +45,17 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, LPC47M15X_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, LPC47M15X_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, LPC47M15X_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, LPC47M15X_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, LPC47M15X_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, }, + { NULL, LPC47M15X_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, LPC47M15X_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, LPC47M15X_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, LPC47M15X_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, LPC47M15X_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, + 0x07ff, 0x07ff, }, }; static void enable_dev(struct device *dev) { - pnp_enable_devices(dev, &pnp_ops, - ARRAY_SIZE(pnp_dev_info), pnp_dev_info); + pnp_enable_devices(dev, &ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info); } static void lpc47m15x_init(struct device *dev) |