summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2018-07-06 21:48:56 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-25 09:26:47 +0000
commitbbc3094441daf4290763e8b7c780cbe77141a9ad (patch)
tree58ab2481404335b4ac7eb663bfe6ed695587e820
parent8ac8ac635cee177e69144a9a6975e770a7dacc5f (diff)
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 <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/27389 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r--src/superio/intel/i8900/superio.c6
1 files changed, 3 insertions, 3 deletions
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)