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/x201/mainboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/lenovo/x201') diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c index 9ccf1d3b26..59add6851a 100644 --- a/src/mainboard/lenovo/x201/mainboard.c +++ b/src/mainboard/lenovo/x201/mainboard.c @@ -45,7 +45,7 @@ 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) { printk(BIOS_SPEW, "starting SPI configuration\n"); @@ -73,12 +73,12 @@ static void mainboard_init(device_t dev) printk(BIOS_SPEW, "SPI configured\n"); } -static void fill_ssdt(device_t device) +static void fill_ssdt(struct device *device) { drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0); } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { u16 pmbase; -- cgit v1.2.3