summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/a8n_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/a8n_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/a8n_e')
-rw-r--r--src/mainboard/asus/a8n_e/acpi_tables.c2
-rw-r--r--src/mainboard/asus/a8n_e/get_bus_conf.c2
-rw-r--r--src/mainboard/asus/a8n_e/mptable.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/asus/a8n_e/acpi_tables.c b/src/mainboard/asus/a8n_e/acpi_tables.c
index 807145922d..06147ddf5b 100644
--- a/src/mainboard/asus/a8n_e/acpi_tables.c
+++ b/src/mainboard/asus/a8n_e/acpi_tables.c
@@ -21,7 +21,7 @@
/* APIC */
unsigned long acpi_fill_madt(unsigned long current)
{
- device_t dev;
+ struct device *dev;
struct resource *res;
/* create all subtables for processors */
diff --git a/src/mainboard/asus/a8n_e/get_bus_conf.c b/src/mainboard/asus/a8n_e/get_bus_conf.c
index ea2744a54c..b1e94d8896 100644
--- a/src/mainboard/asus/a8n_e/get_bus_conf.c
+++ b/src/mainboard/asus/a8n_e/get_bus_conf.c
@@ -57,7 +57,7 @@ static unsigned get_bus_conf_done = 0;
void get_bus_conf(void)
{
unsigned apicid_base, sbdn;
- device_t dev;
+ struct device *dev;
int i;
if (get_bus_conf_done == 1)
diff --git a/src/mainboard/asus/a8n_e/mptable.c b/src/mainboard/asus/a8n_e/mptable.c
index 73b1f15a71..40a06a4c77 100644
--- a/src/mainboard/asus/a8n_e/mptable.c
+++ b/src/mainboard/asus/a8n_e/mptable.c
@@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
/* I/O APICs: APIC ID Version State Address */
{
- device_t dev;
+ struct device *dev;
struct resource *res;
uint32_t dword;