diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2018-07-06 20:55:53 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-07-18 11:40:20 +0000 |
commit | 9911d64b9edb8c055b37b0635e97b4c585aa4ae1 (patch) | |
tree | d823093f50b3945e11deba929f543a616113e57e /src/superio/nuvoton/nct5104d | |
parent | ad417c9c7b20529d20a72c81b225c29953439acc (diff) |
superio/nuvoton: remove LDN-specific ops overrides
The pnp ops struct is already passed to the pnp_enable_devices function and it
is used if no override is supplied in the elements of the pnp_info struct array
Change-Id: I18345d7cc50a7d46cb15584dfb54df28e8534f81
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/27386
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/superio/nuvoton/nct5104d')
-rw-r--r-- | src/superio/nuvoton/nct5104d/superio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c index 76e1ffc1b3..47687e1122 100644 --- a/src/superio/nuvoton/nct5104d/superio.c +++ b/src/superio/nuvoton/nct5104d/superio.c @@ -147,17 +147,17 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, NCT5104D_FDC, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, NCT5104D_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, NCT5104D_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, NCT5104D_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, NCT5104D_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, NCT5104D_GPIO_WDT}, - { &ops, NCT5104D_GPIO_PP_OD}, - { &ops, NCT5104D_GPIO0}, - { &ops, NCT5104D_GPIO1}, - { &ops, NCT5104D_GPIO6}, - { &ops, NCT5104D_PORT80}, + { NULL, NCT5104D_FDC, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, NCT5104D_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, NCT5104D_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, NCT5104D_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, NCT5104D_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, NCT5104D_GPIO_WDT}, + { NULL, NCT5104D_GPIO_PP_OD}, + { NULL, NCT5104D_GPIO0}, + { NULL, NCT5104D_GPIO1}, + { NULL, NCT5104D_GPIO6}, + { NULL, NCT5104D_PORT80}, }; static void enable_dev(struct device *dev) |