[coreboot-gerrit] Change in coreboot[master]: nb/intel/sandybridge: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Tue May 22 10:24:18 CEST 2018


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


Change subject: nb/intel/sandybridge: Get rid of device_t
......................................................................

nb/intel/sandybridge: Get rid of device_t

Use of device_t has been abandoned in ramstage.

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/26454/1

diff --git a/src/northbridge/intel/sandybridge/pcie.c b/src/northbridge/intel/sandybridge/pcie.c
index 9cb823e..bb88c7a 100644
--- a/src/northbridge/intel/sandybridge/pcie.c
+++ b/src/northbridge/intel/sandybridge/pcie.c
@@ -48,7 +48,7 @@
 			return "PEG6";
 		};
 
-	const device_t port = dev->bus->dev;
+	struct device *const port = dev->bus->dev;
 	assert(port);
 	assert(port->bus);
 

-- 
To view, visit https://review.coreboot.org/26454
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: If36a879fbe7a93a214d74dbfa6fb3ee2d09a044a
Gerrit-Change-Number: 26454
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/20180522/6d38ab6a/attachment.html>


More information about the coreboot-gerrit mailing list