Felix Held has uploaded this change for review. ( https://review.coreboot.org/27394
Change subject: ec/google: pass ops to pnp_enable_devices instead of LDN-specific override ......................................................................
ec/google: pass ops to pnp_enable_devices instead of LDN-specific override
Change-Id: Id09c6cffb9a0cbbd9189c18801121449c9504422 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/ec/google/chromeec/ec_lpc.c 1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/27394/1
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c index 1700bd6..f584630 100644 --- a/src/ec/google/chromeec/ec_lpc.c +++ b/src/ec/google/chromeec/ec_lpc.c @@ -465,13 +465,12 @@ };
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_google_chromeec_ops = {