[coreboot-gerrit] Change in coreboot[master]: mb/sapphire: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Fri May 4 22:00:54 CEST 2018


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


Change subject: mb/sapphire: Get rid of device_t
......................................................................

mb/sapphire: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/sapphire/pureplatinumh61/mainboard.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/26098/1

diff --git a/src/mainboard/sapphire/pureplatinumh61/mainboard.c b/src/mainboard/sapphire/pureplatinumh61/mainboard.c
index 02d2d85..c673294 100644
--- a/src/mainboard/sapphire/pureplatinumh61/mainboard.c
+++ b/src/mainboard/sapphire/pureplatinumh61/mainboard.c
@@ -19,13 +19,13 @@
 #include <southbridge/intel/bd82x6x/pch.h>
 #include <southbridge/intel/common/rcba.h>
 
-static void mainboard_init(device_t dev)
+static void mainboard_init(struct device *dev)
 {
 	RCBA32(0x38c8) = 0x00002009;
 	RCBA32(0x38c4) = 0x00802009;
 }
 
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
 {
 	dev->ops->init = mainboard_init;
 

-- 
To view, visit https://review.coreboot.org/26098
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: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0
Gerrit-Change-Number: 26098
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/20180504/bf204410/attachment.html>


More information about the coreboot-gerrit mailing list