From 8c85880236d57abf05fb2578a97a3e6dd52e7b7c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 20:22:08 +0200 Subject: superio/winbond: 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: I4311834f3970bd3471f2f5a73ca7da3c03936d37 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/27385 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Rudolph --- src/superio/winbond/w83627uhg/superio.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'src/superio/winbond/w83627uhg') diff --git a/src/superio/winbond/w83627uhg/superio.c b/src/superio/winbond/w83627uhg/superio.c index cb7e4741f2..f68aec9b89 100644 --- a/src/superio/winbond/w83627uhg/superio.c +++ b/src/superio/winbond/w83627uhg/superio.c @@ -94,21 +94,22 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, W83627UHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, W83627UHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, W83627UHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, W83627UHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, W83627UHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, 0x07ff, }, - { &ops, W83627UHG_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, W83627UHG_GPIO3_4, }, - { &ops, W83627UHG_WDTO_PLED_GPIO5_6, }, - { &ops, W83627UHG_GPIO1_2, }, - { &ops, W83627UHG_ACPI, PNP_IRQ0, }, - { &ops, W83627UHG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, W83627UHG_PECI_SST, }, - { &ops, W83627UHG_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, W83627UHG_SP5, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, W83627UHG_SP6, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, W83627UHG_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, W83627UHG_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, + 0x07ff, 0x07ff, }, + { NULL, W83627UHG_SP3, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_GPIO3_4, }, + { NULL, W83627UHG_WDTO_PLED_GPIO5_6, }, + { NULL, W83627UHG_GPIO1_2, }, + { NULL, W83627UHG_ACPI, PNP_IRQ0, }, + { NULL, W83627UHG_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, + { NULL, W83627UHG_PECI_SST, }, + { NULL, W83627UHG_SP4, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_SP5, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, W83627UHG_SP6, PNP_IO0 | PNP_IRQ0, 0x07f8, }, }; static void enable_dev(struct device *dev) -- cgit v1.2.3