summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/ms7135
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 22:07:08 +0200
committerJonathan A. Kollasch <jakllsch@kollasch.net>2018-05-07 17:45:02 +0000
commit9740bcb0cfb1271e062a4f8b7d182796c6c20356 (patch)
tree990a0f176cb316f8c180a9f76f329a4807611741 /src/mainboard/msi/ms7135
parent29c3f3b8e97aeef0419894c554ff9863848e1860 (diff)
mb/msi: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I7f29fe3b85bc56ff3f2d225822c415513e961459 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26102 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Diffstat (limited to 'src/mainboard/msi/ms7135')
-rw-r--r--src/mainboard/msi/ms7135/acpi_tables.c2
-rw-r--r--src/mainboard/msi/ms7135/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms7135/mptable.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/msi/ms7135/acpi_tables.c b/src/mainboard/msi/ms7135/acpi_tables.c
index c7482e03e3..a637637a84 100644
--- a/src/mainboard/msi/ms7135/acpi_tables.c
+++ b/src/mainboard/msi/ms7135/acpi_tables.c
@@ -16,7 +16,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/msi/ms7135/get_bus_conf.c b/src/mainboard/msi/ms7135/get_bus_conf.c
index 77b0b07a66..19b520fda0 100644
--- a/src/mainboard/msi/ms7135/get_bus_conf.c
+++ b/src/mainboard/msi/ms7135/get_bus_conf.c
@@ -49,7 +49,7 @@ void get_bus_conf(void)
{
unsigned apicid_base;
- device_t dev;
+ struct device *dev;
unsigned sbdn;
int i;
diff --git a/src/mainboard/msi/ms7135/mptable.c b/src/mainboard/msi/ms7135/mptable.c
index f4c26cae6d..35dc02c482 100644
--- a/src/mainboard/msi/ms7135/mptable.c
+++ b/src/mainboard/msi/ms7135/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;
u32 dword;