summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8718f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8718f/superio.c')
-rw-r--r--src/superio/ite/it8718f/superio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/superio/ite/it8718f/superio.c b/src/superio/ite/it8718f/superio.c
index a384ec031f..b4ac679ff6 100644
--- a/src/superio/ite/it8718f/superio.c
+++ b/src/superio/ite/it8718f/superio.c
@@ -64,18 +64,18 @@ static struct device_operations ops = {
/* TODO: IR. */
static struct pnp_info pnp_dev_info[] = {
{ &ops, IT8718F_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0
- | PNP_MSC0 | PNP_MSC1, {0x0ff8, 0}, },
- { &ops, IT8718F_SP1, PNP_IO0 | PNP_IRQ0, {0x07f8, 0}, },
- { &ops, IT8718F_SP2, PNP_IO0 | PNP_IRQ0, {0x07f8, 0}, },
+ | PNP_MSC0 | PNP_MSC1, 0x0ff8, },
+ { &ops, IT8718F_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+ { &ops, IT8718F_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
{ &ops, IT8718F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0
| PNP_MSC0 | PNP_MSC1 | PNP_MSC2 | PNP_MSC3
| PNP_MSC4 | PNP_MSC5 | PNP_MSC6,
- {0x0ff8, 0}, {0x0ff8, 4}, },
+ 0x0ff8, 0x0ff8, },
{ &ops, IT8718F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0
- | PNP_MSC0, {0x07f8, 0}, {0x07f8, 4}, },
+ | PNP_MSC0, 0x07f8, 0x07f8, },
{ &ops, IT8718F_KBCM, PNP_IRQ0 | PNP_MSC0, },
{ &ops, IT8718F_PP, PNP_IO0 | PNP_IO1 | PNP_IRQ0
- | PNP_DRQ0 | PNP_MSC0, {0x0ff8, 0}, {0x0ff8, 4}, },
+ | PNP_DRQ0 | PNP_MSC0, 0x0ff8, 0x0ff8, },
};
static void enable_dev(struct device *dev)