summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/h8dme
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 21:52:58 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:22:39 +0000
commit66e602a7fab46b4879ad78edbb722a282b0ab53c (patch)
treede166e085fb72b7b9d97efc0cb6fad9e84d89ccf /src/mainboard/supermicro/h8dme
parent61e07f6ed6ffbadff82f2d4e1b21dcc111e33762 (diff)
mb/supermicro: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Icc633dc499568cf672f5e244e026e45a6eea5fd8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26095 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/supermicro/h8dme')
-rw-r--r--src/mainboard/supermicro/h8dme/get_bus_conf.c2
-rw-r--r--src/mainboard/supermicro/h8dme/mptable.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/h8dme/get_bus_conf.c b/src/mainboard/supermicro/h8dme/get_bus_conf.c
index 78871522d4..8b8b2f9ea0 100644
--- a/src/mainboard/supermicro/h8dme/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8dme/get_bus_conf.c
@@ -65,7 +65,7 @@ void get_bus_conf(void)
unsigned apicid_base;
unsigned sbdn;
- device_t dev;
+ struct device *dev;
int i;
if (get_bus_conf_done == 1)
diff --git a/src/mainboard/supermicro/h8dme/mptable.c b/src/mainboard/supermicro/h8dme/mptable.c
index 9b73c11dc2..295df50a31 100644
--- a/src/mainboard/supermicro/h8dme/mptable.c
+++ b/src/mainboard/supermicro/h8dme/mptable.c
@@ -47,7 +47,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;