summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47b397/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/lpc47b397/superio.c')
-rw-r--r--src/superio/smsc/lpc47b397/superio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/superio/smsc/lpc47b397/superio.c b/src/superio/smsc/lpc47b397/superio.c
index 93e453fe23..ab2271a8ae 100644
--- a/src/superio/smsc/lpc47b397/superio.c
+++ b/src/superio/smsc/lpc47b397/superio.c
@@ -135,19 +135,19 @@ static struct device_operations ops_hwm = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, LPC47B397_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, LPC47B397_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, LPC47B397_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, LPC47B397_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
- { &ops, LPC47B397_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, },
- { &ops_hwm, LPC47B397_HWM, PNP_IO0, 0x07f0, },
- { &ops, LPC47B397_RT, PNP_IO0, 0x0780, },
+ { NULL, LPC47B397_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, LPC47B397_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, LPC47B397_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, LPC47B397_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { NULL, LPC47B397_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x07ff, 0x07ff, },
+ { NULL_hwm, LPC47B397_HWM, PNP_IO0, 0x07f0, },
+ { NULL, LPC47B397_RT, PNP_IO0, 0x0780, },
};
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);
}
struct chip_operations superio_smsc_lpc47b397_ops = {