summaryrefslogtreecommitdiff
path: root/src/drivers/aspeed/ast2050
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 18:41:10 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 02:57:53 +0000
commitc80435d340fc4b4d59679667c6ea5efa1939264b (patch)
tree8dd0b40d3d1baddef5f3c8ae1dfd2230fab3559f /src/drivers/aspeed/ast2050
parentc3c81223379d8f3563ca4d8166c184d749e6e438 (diff)
downloadcoreboot-c80435d340fc4b4d59679667c6ea5efa1939264b.tar.xz
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26070 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/drivers/aspeed/ast2050')
-rw-r--r--src/drivers/aspeed/ast2050/ast2050.c2
1 files changed, 1 insertions, 1 deletions
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);