From 8ac8ac635cee177e69144a9a6975e770a7dacc5f Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 21:43:34 +0200 Subject: superio/fintek: 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: Ic6387032e043b6ad9e9ceefd2fcc1cdf843e2989 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/27387 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/superio/fintek/f71872/superio.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/superio/fintek/f71872/superio.c') diff --git a/src/superio/fintek/f71872/superio.c b/src/superio/fintek/f71872/superio.c index c2163bd9cc..f26a0c6464 100644 --- a/src/superio/fintek/f71872/superio.c +++ b/src/superio/fintek/f71872/superio.c @@ -48,15 +48,15 @@ static struct device_operations ops = { static struct pnp_info pnp_dev_info[] = { /* TODO: Some of the 0x07f8 etc. values may not be correct. */ - { &ops, F71872_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, F71872_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, F71872_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, F71872_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, - { &ops, F71872_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, - { &ops, F71872_KBC, PNP_IO0 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, }, - { &ops, F71872_GPIO, PNP_IRQ0, }, - { &ops, F71872_VID, PNP_IO0, 0x0ff8, }, - { &ops, F71872_PM, }, + { NULL, F71872_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, F71872_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, F71872_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, F71872_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, }, + { NULL, F71872_HWM, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, + { NULL, F71872_KBC, PNP_IO0 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, }, + { NULL, F71872_GPIO, PNP_IRQ0, }, + { NULL, F71872_VID, PNP_IO0, 0x0ff8, }, + { NULL, F71872_PM, }, }; static void enable_dev(struct device *dev) -- cgit v1.2.3