diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 20:19:02 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 03:03:11 +0000 |
commit | 9981177cb8e06d5a00d22e1185a05aa38d217e33 (patch) | |
tree | 4e21a486ff2b4db0f6a841ccdc491022862509af /src/mainboard/gigabyte/m57sli | |
parent | 715a502c1784e7616fe2ff87232dfea3a0b1c076 (diff) | |
download | coreboot-9981177cb8e06d5a00d22e1185a05aa38d217e33.tar.xz |
mb/gigabyte: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I37ba054022241c93c03e6c804e46f4e8a1c1143e
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26084
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/gigabyte/m57sli')
-rw-r--r-- | src/mainboard/gigabyte/m57sli/acpi_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/m57sli/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/m57sli/mptable.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/gigabyte/m57sli/acpi_tables.c b/src/mainboard/gigabyte/m57sli/acpi_tables.c index 3188af398d..72b82f5f4d 100644 --- a/src/mainboard/gigabyte/m57sli/acpi_tables.c +++ b/src/mainboard/gigabyte/m57sli/acpi_tables.c @@ -38,7 +38,7 @@ unsigned long acpi_fill_madt(unsigned long current) unsigned sbdn; struct resource *res; - device_t dev; + struct device *dev; get_bus_conf(); sbdn = sysconf.sbdn; diff --git a/src/mainboard/gigabyte/m57sli/get_bus_conf.c b/src/mainboard/gigabyte/m57sli/get_bus_conf.c index 9d13b0c573..5ef79627b4 100644 --- a/src/mainboard/gigabyte/m57sli/get_bus_conf.c +++ b/src/mainboard/gigabyte/m57sli/get_bus_conf.c @@ -61,7 +61,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/gigabyte/m57sli/mptable.c b/src/mainboard/gigabyte/m57sli/mptable.c index 019a7f5eab..e9ffe52b73 100644 --- a/src/mainboard/gigabyte/m57sli/mptable.c +++ b/src/mainboard/gigabyte/m57sli/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; dev = dev_find_slot(bus_mcp55[0], PCI_DEVFN(sbdn+ 0x1,0)); |