summaryrefslogtreecommitdiff
path: root/src/superio/smsc/kbc1100/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/smsc/kbc1100/superio.c')
-rw-r--r--src/superio/smsc/kbc1100/superio.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c
index 0f5ede19f2..bca4067e22 100644
--- a/src/superio/smsc/kbc1100/superio.c
+++ b/src/superio/smsc/kbc1100/superio.c
@@ -45,14 +45,13 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, KBC1100_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x7ff,
- 0x7ff, },
+ { NULL, KBC1100_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ 0x7ff, 0x7ff, },
};
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 kbc1100_init(struct device *dev)