summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
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.