diff options
Diffstat (limited to 'src/superio/smsc/lpc47n217')
-rw-r--r-- | src/superio/smsc/lpc47n217/superio.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c index 43b56dc549..e63645e522 100644 --- a/src/superio/smsc/lpc47n217/superio.c +++ b/src/superio/smsc/lpc47n217/superio.c @@ -57,9 +57,9 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, LPC47N217_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, LPC47N217_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, LPC47N217_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, } + { NULL, LPC47N217_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, LPC47N217_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, LPC47N217_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, } }; /** @@ -70,8 +70,7 @@ static struct pnp_info pnp_dev_info[] = { */ 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); } /** |