summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive/hifive-unleashed
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 22:01:42 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:23:12 +0000
commit66ea1654f208b398d17ce9e5ad35f3088d13b6e9 (patch)
tree5aaab6f4695674226f59f28588f6fb64e62e250a /src/mainboard/sifive/hifive-unleashed
parenta48390690ad14d0137b41ebb381e5eecd6ea0eac (diff)
mb/sifive: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I8c6358d072b25ab4758637da989883daa600c8ee Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26099 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/sifive/hifive-unleashed')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/mainboard.c2
1 files changed, 1 insertions, 1 deletions
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 <bootblock_common.h>
#include <timestamp.h>
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
}