From 497737b711dfbf21e710060986a6ffc2c0525359 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 May 2018 22:00:20 +0200 Subject: mb/sapphire: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26098 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Nicola Corna --- src/mainboard/sapphire/pureplatinumh61/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/sapphire') diff --git a/src/mainboard/sapphire/pureplatinumh61/mainboard.c b/src/mainboard/sapphire/pureplatinumh61/mainboard.c index 02d2d85987..c673294478 100644 --- a/src/mainboard/sapphire/pureplatinumh61/mainboard.c +++ b/src/mainboard/sapphire/pureplatinumh61/mainboard.c @@ -19,13 +19,13 @@ #include #include -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { RCBA32(0x38c8) = 0x00002009; RCBA32(0x38c4) = 0x00802009; } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; -- cgit v1.2.3