summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:02:58 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 13:16:12 +0000
commit477a516ec3e97bd419d41f6b432eff19b722b9f2 (patch)
tree6b5289fc3e1a21a47566c01049de81f88a2845c9 /src
parent51c6a610d8f05b78edeb8c0544d22283e420e6eb (diff)
mb/avalue: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I7f1276ee593928956913eaeecd62fd3018cc9ae2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26077 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/avalue/eax-785e/get_bus_conf.c2
-rw-r--r--src/mainboard/avalue/eax-785e/mainboard.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/avalue/eax-785e/get_bus_conf.c b/src/mainboard/avalue/eax-785e/get_bus_conf.c
index 85daf69ced..7b8d6417a1 100644
--- a/src/mainboard/avalue/eax-785e/get_bus_conf.c
+++ b/src/mainboard/avalue/eax-785e/get_bus_conf.c
@@ -61,7 +61,7 @@ static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
{
u32 apicid_base;
- device_t dev;
+ struct device *dev;
int i;
if (get_bus_conf_done == 1)
diff --git a/src/mainboard/avalue/eax-785e/mainboard.c b/src/mainboard/avalue/eax-785e/mainboard.c
index b09a3fa299..79b408e61f 100644
--- a/src/mainboard/avalue/eax-785e/mainboard.c
+++ b/src/mainboard/avalue/eax-785e/mainboard.c
@@ -64,7 +64,7 @@ u8 is_dev3_present(void)
* enable the dedicated function in EAX-785E board.
* This function called early than rs780_enable.
*************************************************/
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");