From c80435d340fc4b4d59679667c6ea5efa1939264b Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 4 May 2018 18:41:10 +0200 Subject: drivers/aspeed/ast2050: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I31f53f5f0e3f1fd6bd9bdbb47ea67c12b3840850 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26070 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/drivers/aspeed/ast2050/ast2050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/aspeed') diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c index ed128f319b..b36c3b16bc 100644 --- a/src/drivers/aspeed/ast2050/ast2050.c +++ b/src/drivers/aspeed/ast2050/ast2050.c @@ -29,7 +29,7 @@ #include "../common/aspeed_coreboot.h" #include "../common/ast_drv.h" -static void aspeed_ast2050_set_resources(device_t dev) +static void aspeed_ast2050_set_resources(struct device *dev) { /* Reserve VGA regions */ mmio_resource(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10); -- cgit v1.2.3