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/s230u/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/lenovo/s230u/mainboard.c') diff --git a/src/mainboard/lenovo/s230u/mainboard.c b/src/mainboard/lenovo/s230u/mainboard.c index a1b63cc1e8..769fe3c77e 100644 --- a/src/mainboard/lenovo/s230u/mainboard.c +++ b/src/mainboard/lenovo/s230u/mainboard.c @@ -65,7 +65,7 @@ static void mainboard_smbios_strings( fwvh >> 4, fwvh & 0x0f, fwvl >> 4, 0x41 + (fwvl & 0xf)); } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->get_smbios_strings = mainboard_smbios_strings, -- cgit v1.2.3