From 5cb876cc1fef34e238e37facb36a77dbc45ced9a Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 8 Jun 2018 18:31:43 +0200 Subject: mainboard: Get rid of device_t in ramstage Use of device_t has been abandoned in ramstage. Change-Id: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26983 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/lowrisc/nexys4ddr/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/lowrisc/nexys4ddr/mainboard.c') diff --git a/src/mainboard/lowrisc/nexys4ddr/mainboard.c b/src/mainboard/lowrisc/nexys4ddr/mainboard.c index 97acc1e15d..3ef833741d 100644 --- a/src/mainboard/lowrisc/nexys4ddr/mainboard.c +++ b/src/mainboard/lowrisc/nexys4ddr/mainboard.c @@ -17,7 +17,7 @@ #include #include -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { uintptr_t ram_base; size_t ram_size; -- cgit v1.2.3