From c3c81223379d8f3563ca4d8166c184d749e6e438 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 May 2018 18:34:49 +0200 Subject: drivers/xgi/z9s: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: Ia9c705d34b90ad44272a06790fbb1041029ef77d Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26069 Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/drivers/xgi/z9s/z9s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/xgi/z9s') diff --git a/src/drivers/xgi/z9s/z9s.c b/src/drivers/xgi/z9s/z9s.c index dc4fd3cf19..94b4f2692d 100644 --- a/src/drivers/xgi/z9s/z9s.c +++ b/src/drivers/xgi/z9s/z9s.c @@ -26,7 +26,7 @@ #include "../common/xgi_coreboot.h" #include "../common/XGIfb.h" -static void xgi_z9s_set_resources(device_t dev) +static void xgi_z9s_set_resources(struct device *dev) { /* Reserve VGA regions */ mmio_resource(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10); -- cgit v1.2.3