From 64b759e2011e6e5a090e9442da3779c344734549 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 5 May 2018 09:11:32 +0200 Subject: mb/lenovo: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: Ic044fc074c43db683fcd85ce92a36a8c5a464a67 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26101 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/mainboard/lenovo/t60/mainboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/lenovo/t60/mainboard.c') diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c index 153960a3454f..167ffb29ed26 100644 --- a/src/mainboard/lenovo/t60/mainboard.c +++ b/src/mainboard/lenovo/t60/mainboard.c @@ -39,10 +39,10 @@ int get_cst_entries(acpi_cstate_t **entries) return ARRAY_SIZE(cst_entries); } -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { struct southbridge_intel_i82801gx_config *config; - device_t idedev; + struct device *idedev; install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_PANEL_FIT_DEFAULT, @@ -74,7 +74,7 @@ static void mainboard_init(device_t dev) ec_write(0x0c, inb(0x164c) & 8 ? 0x89 : 0x09); } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; } -- cgit v1.2.3