From 66ea1654f208b398d17ce9e5ad35f3088d13b6e9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 May 2018 22:01:42 +0200 Subject: [PATCH] mb/sifive: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I8c6358d072b25ab4758637da989883daa600c8ee Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26099 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/mainboard/sifive/hifive-unleashed/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/sifive/hifive-unleashed/mainboard.c b/src/mainboard/sifive/hifive-unleashed/mainboard.c index ab4d6aec88..bfc4d6ef48 100644 --- a/src/mainboard/sifive/hifive-unleashed/mainboard.c +++ b/src/mainboard/sifive/hifive-unleashed/mainboard.c @@ -17,7 +17,7 @@ #include #include -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { }