From 9911d64b9edb8c055b37b0635e97b4c585aa4ae1 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 20:55:53 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/27386 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Rudolph --- src/superio/nuvoton/wpcm450/superio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/superio/nuvoton/wpcm450/superio.c') diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c index 0a42d137cc..05078ebd96 100644 --- a/src/superio/nuvoton/wpcm450/superio.c +++ b/src/superio/nuvoton/wpcm450/superio.c @@ -45,9 +45,10 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, WPCM450_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, 0x07f8, }, - { &ops, WPCM450_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, WPCM450_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, }, + { NULL, WPCM450_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, + 0x07f8, }, + { NULL, WPCM450_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, WPCM450_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, }, }; static void enable_dev(struct device *dev) -- cgit v1.2.3