summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8712f
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8712f')
-rw-r--r--src/superio/ite/it8712f/superio.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index 6501a60ba0..64cc9cff33 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -62,23 +62,23 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, IT8712F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
- { &ops, IT8712F_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, IT8712F_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, IT8712F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ffc, },
- { &ops, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ff8, 0x0ff8, },
- { &ops, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0fff, 0x0fff, },
- { &ops, IT8712F_KBCM, PNP_IRQ0, },
- { &ops, IT8712F_GPIO, PNP_IO0 | PNP_IO1 | PNP_IO2 | PNP_IRQ0, 0x0fff, 0x0ff8, 0x0ff8, },
- { &ops, IT8712F_MIDI, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
- { &ops, IT8712F_GAME, PNP_IO0, 0x0fff, },
- { &ops, IT8712F_IR, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, IT8712F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, },
+ { NULL, IT8712F_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, IT8712F_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, IT8712F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ffc, },
+ { NULL, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ff8, 0x0ff8, },
+ { NULL, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0fff, 0x0fff, },
+ { NULL, IT8712F_KBCM, PNP_IRQ0, },
+ { NULL, IT8712F_GPIO, PNP_IO0 | PNP_IO1 | PNP_IO2 | PNP_IRQ0,
+ 0x0fff, 0x0ff8, 0x0ff8, },
+ { NULL, IT8712F_MIDI, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
+ { NULL, IT8712F_GAME, PNP_IO0, 0x0fff, },
+ { NULL, IT8712F_IR, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
};
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_ite_it8712f_ops = {