[coreboot-gerrit] Change in coreboot[master]: drivers/ricoh/rce822: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Wed May 2 22:07:28 CEST 2018


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


Change subject: drivers/ricoh/rce822: Get rid of device_t
......................................................................

drivers/ricoh/rce822: Get rid of device_t

Use of `device_t` has been abandoned in ramstage.

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/26013/1

diff --git a/src/drivers/ricoh/rce822/rce822.c b/src/drivers/ricoh/rce822/rce822.c
index 7bc3b40..b364946 100644
--- a/src/drivers/ricoh/rce822/rce822.c
+++ b/src/drivers/ricoh/rce822/rce822.c
@@ -39,7 +39,7 @@
 	pci_write_config8(dev, 0xf9, 0x00);
 }
 
-static void rce822_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void rce822_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
 {
 	if (!vendor || !device) {
 		pci_write_config32(dev, 0xac,

-- 
To view, visit https://review.coreboot.org/26013
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: I6f6c4330ad88e013b24761a3aa1c29bc869da39d
Gerrit-Change-Number: 26013
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/e427d150/attachment.html>


More information about the coreboot-gerrit mailing list