diff options
Diffstat (limited to 'src/superio/nuvoton/nct6791d')
-rw-r--r-- | src/superio/nuvoton/nct6791d/superio.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/superio/nuvoton/nct6791d/superio.c b/src/superio/nuvoton/nct6791d/superio.c index f66689eb56..c2d5f2e39a 100644 --- a/src/superio/nuvoton/nct6791d/superio.c +++ b/src/superio/nuvoton/nct6791d/superio.c @@ -50,44 +50,44 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, NCT6791D_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, + { NULL, NCT6791D_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ff8, }, - { &ops, NCT6791D_SP1, PNP_IO0 | PNP_IRQ0, + { NULL, NCT6791D_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, NCT6791D_SP2, PNP_IO0 | PNP_IRQ0, + { NULL, NCT6791D_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, NCT6791D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, + { NULL, NCT6791D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x0fff, 0x0fff, }, - { &ops, NCT6791D_CIR, PNP_IO0 | PNP_IRQ0, + { NULL, NCT6791D_CIR, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, NCT6791D_ACPI}, - { &ops, NCT6791D_HWM_FPLED, PNP_IO0 | PNP_IO1 | PNP_IRQ0, + { NULL, NCT6791D_ACPI}, + { NULL, NCT6791D_HWM_FPLED, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ffe, 0x0ffe, }, - { &ops, NCT6791D_BCLK_WDT2_WDTMEM}, - { &ops, NCT6791D_CIRWUP, PNP_IO0 | PNP_IRQ0, + { NULL, NCT6791D_BCLK_WDT2_WDTMEM}, + { NULL, NCT6791D_CIRWUP, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, NCT6791D_GPIO_PP_OD}, - { &ops, NCT6791D_PORT80}, - { &ops, NCT6791D_WDT1}, - { &ops, NCT6791D_WDTMEM}, - { &ops, NCT6791D_GPIOBASE, PNP_IO0, + { NULL, NCT6791D_GPIO_PP_OD}, + { NULL, NCT6791D_PORT80}, + { NULL, NCT6791D_WDT1}, + { NULL, NCT6791D_WDTMEM}, + { NULL, NCT6791D_GPIOBASE, PNP_IO0, 0x0ff8, }, - { &ops, NCT6791D_GPIO0}, - { &ops, NCT6791D_GPIO1}, - { &ops, NCT6791D_GPIO2}, - { &ops, NCT6791D_GPIO3}, - { &ops, NCT6791D_GPIO4}, - { &ops, NCT6791D_GPIO5}, - { &ops, NCT6791D_GPIO6}, - { &ops, NCT6791D_GPIO7}, - { &ops, NCT6791D_GPIO8}, - { &ops, NCT6791D_DS5}, - { &ops, NCT6791D_DS3}, - { &ops, NCT6791D_PCHDSW}, - { &ops, NCT6791D_DSWWOPT}, - { &ops, NCT6791D_DS3OPT}, - { &ops, NCT6791D_DSDSS}, - { &ops, NCT6791D_DSPU}, + { NULL, NCT6791D_GPIO0}, + { NULL, NCT6791D_GPIO1}, + { NULL, NCT6791D_GPIO2}, + { NULL, NCT6791D_GPIO3}, + { NULL, NCT6791D_GPIO4}, + { NULL, NCT6791D_GPIO5}, + { NULL, NCT6791D_GPIO6}, + { NULL, NCT6791D_GPIO7}, + { NULL, NCT6791D_GPIO8}, + { NULL, NCT6791D_DS5}, + { NULL, NCT6791D_DS3}, + { NULL, NCT6791D_PCHDSW}, + { NULL, NCT6791D_DSWWOPT}, + { NULL, NCT6791D_DS3OPT}, + { NULL, NCT6791D_DSDSS}, + { NULL, NCT6791D_DSPU}, }; static void enable_dev(struct device *dev) |