[coreboot-gerrit] Change in coreboot[master]: ec/roda: pass ops to pnp_enable_devices instead of LDN-specific override

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


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


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

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

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/27396/1

diff --git a/src/ec/roda/it8518/ec.c b/src/ec/roda/it8518/ec.c
index 99ce506..4e69d11 100644
--- a/src/ec/roda/it8518/ec.c
+++ b/src/ec/roda/it8518/ec.c
@@ -53,13 +53,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_roda_it8518_ops = {

-- 
To view, visit https://review.coreboot.org/27396
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: Ic35a232a9867936d3d84aa275ae50e3e3dd9bf97
Gerrit-Change-Number: 27396
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/993b9df5/attachment.html>


More information about the coreboot-gerrit mailing list