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

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sat May 5 08:50:38 CEST 2018


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


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

mb/roda: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I0830e5519256122e3fe9f142c4c8e1e5e85f9a8c
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/roda/rk886ex/mainboard.c
M src/mainboard/roda/rk9/mainboard.c
2 files changed, 3 insertions(+), 3 deletions(-)



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

diff --git a/src/mainboard/roda/rk886ex/mainboard.c b/src/mainboard/roda/rk886ex/mainboard.c
index c9712db..843ca60 100644
--- a/src/mainboard/roda/rk886ex/mainboard.c
+++ b/src/mainboard/roda/rk886ex/mainboard.c
@@ -46,14 +46,14 @@
 }
 #endif
 
-static void mainboard_final(device_t dev)
+static void mainboard_final(struct device *dev)
 {
 	/* Enable Dummy DCC ON# for DVI */
 	printk(BIOS_DEBUG, "Laptop handling...\n");
 	outb(inb(0x60f) & ~(1 << 5), 0x60f);
 }
 
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
 {
 	/* Configure the MultiKey controller */
 
diff --git a/src/mainboard/roda/rk9/mainboard.c b/src/mainboard/roda/rk9/mainboard.c
index 395bf4a..2a83936 100644
--- a/src/mainboard/roda/rk9/mainboard.c
+++ b/src/mainboard/roda/rk9/mainboard.c
@@ -36,7 +36,7 @@
 	send_ec_command(0xad); /* Set_Thml_Value */
 }
 
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
 {
 	ec_setup();
 	/* LCD panel type is SIO GPIO40-43.

-- 
To view, visit https://review.coreboot.org/26113
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: I0830e5519256122e3fe9f142c4c8e1e5e85f9a8c
Gerrit-Change-Number: 26113
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/20180505/ca5362b1/attachment-0001.html>


More information about the coreboot-gerrit mailing list