diff options
Diffstat (limited to 'src/superio/nuvoton/nct5572d')
-rw-r--r-- | src/superio/nuvoton/nct5572d/superio.c | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c index 12b1c78e3a..10542d5591 100644 --- a/src/superio/nuvoton/nct5572d/superio.c +++ b/src/superio/nuvoton/nct5572d/superio.c @@ -95,27 +95,29 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, NCT5572D_FDC}, /* no pins, removed from datasheet */ - { &ops, NCT5572D_PP}, /* no pins, removed from datasheet */ - { &ops, NCT5572D_SP1, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, - { &ops, NCT5572D_IR, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, - { &ops, NCT5572D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x0FFF, 0x0FFF, }, - { &ops, NCT5572D_CIR, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, - { &ops, NCT5572D_WDT1}, - { &ops, NCT5572D_ACPI}, - { &ops, NCT5572D_HWM_TSI_FPLED, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0FFE, 0x0FFE, }, - { &ops, NCT5572D_PECI}, - { &ops, NCT5572D_SUSLED}, - { &ops, NCT5572D_CIRWKUP, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, - { &ops, NCT5572D_GPIO_PP_OD}, - { &ops, NCT5572D_GPIO2}, - { &ops, NCT5572D_GPIO3}, - { &ops, NCT5572D_GPIO4}, /* no pins, removed from datasheet */ - { &ops, NCT5572D_GPIO5}, - { &ops, NCT5572D_GPIO6}, - { &ops, NCT5572D_GPIO7}, /* no pins, removed from datasheet */ - { &ops, NCT5572D_GPIO8}, - { &ops, NCT5572D_GPIO9}, + { NULL, NCT5572D_FDC}, /* no pins, removed from datasheet */ + { NULL, NCT5572D_PP}, /* no pins, removed from datasheet */ + { NULL, NCT5572D_SP1, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, + { NULL, NCT5572D_IR, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, + { NULL, NCT5572D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, + 0x0FFF, 0x0FFF, }, + { NULL, NCT5572D_CIR, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, + { NULL, NCT5572D_WDT1}, + { NULL, NCT5572D_ACPI}, + { NULL, NCT5572D_HWM_TSI_FPLED, PNP_IO0 | PNP_IO1 | PNP_IRQ0, + 0x0FFE, 0x0FFE, }, + { NULL, NCT5572D_PECI}, + { NULL, NCT5572D_SUSLED}, + { NULL, NCT5572D_CIRWKUP, PNP_IO0 | PNP_IRQ0, 0x0FF8, }, + { NULL, NCT5572D_GPIO_PP_OD}, + { NULL, NCT5572D_GPIO2}, + { NULL, NCT5572D_GPIO3}, + { NULL, NCT5572D_GPIO4}, /* no pins, removed from datasheet */ + { NULL, NCT5572D_GPIO5}, + { NULL, NCT5572D_GPIO6}, + { NULL, NCT5572D_GPIO7}, /* no pins, removed from datasheet */ + { NULL, NCT5572D_GPIO8}, + { NULL, NCT5572D_GPIO9}, }; static void enable_dev(struct device *dev) |