summaryrefslogtreecommitdiff
path: root/src/ec/compal/ene932/ec.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2018-07-07 00:03:47 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-26 18:18:28 +0000
commitdd770a84608bcfe8b81e276b807c7637e0d57037 (patch)
tree3833d62ce7dc9c192daf7e5bb572803cfd12731d /src/ec/compal/ene932/ec.c
parent2cc81dc4b74fa7d4ea8b4eddc91eb9e7c11d8b66 (diff)
downloadcoreboot-dd770a84608bcfe8b81e276b807c7637e0d57037.tar.xz
ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override
Since ops was passed as override in the pnp_dev_info struct, the generic pnp_ops that was passed to pnp_enable_devices was never used. Change-Id: I10e2c6da0043eb291a8c6266b251054dbe599653 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/27393 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/compal/ene932/ec.c')
-rw-r--r--src/ec/compal/ene932/ec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index 1ed3c9f2de..7d8880c185 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -144,13 +144,12 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, 0, 0, 0, }
+ { NULL, 0, 0, 0, }
};
static void enable_dev(struct device *dev)
{
- pnp_enable_devices(dev, &pnp_ops, ARRAY_SIZE(pnp_dev_info),
- pnp_dev_info);
+ pnp_enable_devices(dev, &ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
}
struct chip_operations ec_compal_ene932_ops = {