[coreboot-gerrit] Change in coreboot[master]: ec/google: pass ops to pnp_enable_devices instead of LDN-specific ove...

Felix Held (Code Review) gerrit at coreboot.org
Sat Jul 7 00:20:57 CEST 2018


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 at 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 = {

-- 
To view, visit https://review.coreboot.org/27394
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id09c6cffb9a0cbbd9189c18801121449c9504422
Gerrit-Change-Number: 27394
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot at felixheld.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180706/57b3c222/attachment.html>


More information about the coreboot-gerrit mailing list