summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-05 08:50:02 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:04:17 +0000
commitc4c2d4ec7ad10d8928929e7042c4e7a1b97e98b8 (patch)
treea1e32cace0d3b4e585374ae4f920f5a244be5643 /src/mainboard
parentf65f297eff400fec8b95ebdf807bfaed69863086 (diff)
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@noos.fr> Reviewed-on: https://review.coreboot.org/26113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/roda/rk886ex/mainboard.c4
-rw-r--r--src/mainboard/roda/rk9/mainboard.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/roda/rk886ex/mainboard.c b/src/mainboard/roda/rk886ex/mainboard.c
index c9712db247..843ca60577 100644
--- a/src/mainboard/roda/rk886ex/mainboard.c
+++ b/src/mainboard/roda/rk886ex/mainboard.c
@@ -46,14 +46,14 @@ static void dump_runtime_registers(void)
}
#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 395bf4ac28..2a83936841 100644
--- a/src/mainboard/roda/rk9/mainboard.c
+++ b/src/mainboard/roda/rk9/mainboard.c
@@ -36,7 +36,7 @@ static void ec_setup(void)
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.