summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m2n-e
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:00:08 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 13:14:37 +0000
commit02b05d1f6be34c5833c8fbeb6483a2634b758eea (patch)
treed05b7624e36648a5af69d07087ff8fac6adff699 /src/mainboard/asus/m2n-e
parent5a0757cf74f01b719508df600b03faf444fd1283 (diff)
mb/asus: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I8fe817bb514c69a647c2208a0573a2c5fe98722d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26076 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asus/m2n-e')
-rw-r--r--src/mainboard/asus/m2n-e/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/m2n-e/mptable.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/m2n-e/get_bus_conf.c b/src/mainboard/asus/m2n-e/get_bus_conf.c
index e56072a6a9..6809eda4a9 100644
--- a/src/mainboard/asus/m2n-e/get_bus_conf.c
+++ b/src/mainboard/asus/m2n-e/get_bus_conf.c
@@ -63,7 +63,7 @@ static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
{
unsigned int apicid_base, sbdn;
- device_t dev;
+ struct device *dev;
int i;
if (get_bus_conf_done == 1)
diff --git a/src/mainboard/asus/m2n-e/mptable.c b/src/mainboard/asus/m2n-e/mptable.c
index faa000c0ba..5d9f0fc400 100644
--- a/src/mainboard/asus/m2n-e/mptable.c
+++ b/src/mainboard/asus/m2n-e/mptable.c
@@ -34,7 +34,7 @@ static void *smp_write_config_table(void *v)
struct mp_config_table *mc;
unsigned int sbdn;
int i, j, bus_isa;
- device_t dev;
+ struct device *dev;
struct resource *res;
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);