[coreboot-gerrit] Change in coreboot[master]: drivers/intel/i210.c: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Wed May 2 21:58:34 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26010


Change subject: drivers/intel/i210.c: Get rid of device_t
......................................................................

drivers/intel/i210.c: Get rid of device_t

Use of `device_t` has been abandoned in ramstage.

Change-Id: If9c122efbb7dbab7d834372da3c1c70463be7a77
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/drivers/intel/i210/i210.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/26010/1

diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c
index b4ceadb..d554745 100644
--- a/src/drivers/intel/i210/i210.c
+++ b/src/drivers/intel/i210/i210.c
@@ -219,7 +219,7 @@
 	return;
 }
 
-static void set_resources(device_t dev)
+static void set_resources(struct device *dev)
 {
 	pci_dev_set_resources(dev);
 	dev->command |= PCI_COMMAND_MASTER;

-- 
To view, visit https://review.coreboot.org/26010
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: If9c122efbb7dbab7d834372da3c1c70463be7a77
Gerrit-Change-Number: 26010
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180502/30cc34fb/attachment.html>


More information about the coreboot-gerrit mailing list