summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines/apu2
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 22:03:37 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:03:36 +0000
commit9adef1ed56a04123245014e34f2869bee762d269 (patch)
tree8ccb177c0aa23bf1c9d8b282e066099246796932 /src/mainboard/pcengines/apu2
parenta2e282b06a945ba7b3cbc73b5eeda9d55e6ceaf8 (diff)
mb/pcengines: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I8a05bb00dc640fafa1c8e2eaac6427fdb0169f39 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26100 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/pcengines/apu2')
-rw-r--r--src/mainboard/pcengines/apu2/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/pcengines/apu2/mainboard.c b/src/mainboard/pcengines/apu2/mainboard.c
index 7b8da2ed0a..8f2d622852 100644
--- a/src/mainboard/pcengines/apu2/mainboard.c
+++ b/src/mainboard/pcengines/apu2/mainboard.c
@@ -158,7 +158,7 @@ static void config_gpio_mux(void)
* enable the dedicated function in mainboard.
**********************************************/
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
@@ -185,7 +185,7 @@ static void mainboard_enable(device_t dev)
const char *smbios_mainboard_serial_number(void)
{
static char serial[10];
- device_t nic_dev;
+ struct device *nic_dev;
uintptr_t bar10;
u32 mac_addr = 0;
int i;