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>
This commit is contained in:
Elyes HAOUAS 2018-05-04 18:41:10 +02:00 committed by Martin Roth
parent c3c8122337
commit c80435d340
1 changed files with 1 additions and 1 deletions

View File

@ -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);