summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);