aboutsummaryrefslogtreecommitdiff
path: root/src/superio/fintek/f81866d
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2018-07-06 21:43:34 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-25 09:26:27 +0000
commit8ac8ac635cee177e69144a9a6975e770a7dacc5f (patch)
tree01c222014b5848de53e918bc4b90d3eb85074f67 /src/superio/fintek/f81866d
parent72d77a9a0c1030c872f0245ae7ed6e74b54abac0 (diff)
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 <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/27387 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/superio/fintek/f81866d')
-rw-r--r--src/superio/fintek/f81866d/superio.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/superio/fintek/f81866d/superio.c b/src/superio/fintek/f81866d/superio.c
index 938019d4b5..7678383bbd 100644
--- a/src/superio/fintek/f81866d/superio.c
+++ b/src/superio/fintek/f81866d/superio.c
@@ -70,19 +70,19 @@ static struct device_operations ops = {
static struct pnp_info pnp_dev_info[] = {
/* TODO: Some of the 0x7f8 etc. values may not be correct. */
- { &ops, F81866D_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, F81866D_SP1, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_SP2, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_SP3, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_SP4, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_SP5, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_SP6, PNP_IO0 | PNP_IRQ0, 0x7f8, },
- { &ops, F81866D_KBC, PNP_IO0 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, },
- { &ops, F81866D_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
- { &ops, F81866D_HWM, PNP_IO0 | PNP_IRQ0, 0xff8, },
- { &ops, F81866D_GPIO, PNP_IRQ0, },
- { &ops, F81866D_PME, },
- { &ops, F81866D_WDT, },
+ { NULL, F81866D_FDC, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, F81866D_SP1, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_SP2, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_SP3, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_SP4, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_SP5, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_SP6, PNP_IO0 | PNP_IRQ0, 0x7f8, },
+ { NULL, F81866D_KBC, PNP_IO0 | PNP_IRQ0 | PNP_IRQ1, 0x07ff, },
+ { NULL, F81866D_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x07f8, },
+ { NULL, F81866D_HWM, PNP_IO0 | PNP_IRQ0, 0xff8, },
+ { NULL, F81866D_GPIO, PNP_IRQ0, },
+ { NULL, F81866D_PME, },
+ { NULL, F81866D_WDT, },
};
static void enable_dev(struct device *dev)