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

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


Felix Held has uploaded this change for review. ( https://review.coreboot.org/27393


Change subject: ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override
......................................................................

ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override

Change-Id: I10e2c6da0043eb291a8c6266b251054dbe599653
Signed-off-by: Felix Held <felix-coreboot at felixheld.de>
---
M src/ec/compal/ene932/ec.c
1 file changed, 2 insertions(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/27393/1

diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index 1ed3c9f..7d8880c 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -144,13 +144,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_compal_ene932_ops = {

-- 
To view, visit https://review.coreboot.org/27393
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: I10e2c6da0043eb291a8c6266b251054dbe599653
Gerrit-Change-Number: 27393
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/de1d4fe1/attachment-0001.html>


More information about the coreboot-gerrit mailing list