From bbc3094441daf4290763e8b7c780cbe77141a9ad Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 21:48:56 +0200 Subject: superio/intel: 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: I5bd525532c01b3b9f7ddbc8eab42caa8b7f30795 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/27389 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/superio/intel/i8900/superio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/superio') diff --git a/src/superio/intel/i8900/superio.c b/src/superio/intel/i8900/superio.c index 73e940748c..24805bcf43 100644 --- a/src/superio/intel/i8900/superio.c +++ b/src/superio/intel/i8900/superio.c @@ -70,9 +70,9 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, I8900_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, I8900_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, I8900_WDT, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, I8900_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, I8900_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { NULL, I8900_WDT, PNP_IO0 | PNP_IRQ0, 0x07f8, }, }; static void enable_dev(struct device *dev) -- cgit v1.2.3