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>
This commit is contained in:
parent
f65f297eff
commit
c4c2d4ec7a
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue