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/ga_2761gxdk | |
parent | 715a502c1784e7616fe2ff87232dfea3a0b1c076 (diff) |
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/ga_2761gxdk')
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/mptable.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c b/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c index 53171c268d..75f6b9ffc0 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c @@ -63,7 +63,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/ga_2761gxdk/irq_tables.c b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c index d1168a751e..d2bc1824be 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c @@ -109,7 +109,7 @@ unsigned long write_pirq_routing_table(unsigned long addr) printk(BIOS_INFO, "done.\n"); { - device_t dev; + struct device *dev; dev = dev_find_slot(0, PCI_DEVFN(2, 0)); if (dev) { /* initialize PCI interupts - these assignments depend diff --git a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c index 991f24e800..ae59264cba 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/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; |