diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 20:59:58 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 14:22:05 +0000 |
commit | 49c30ba0177f4bc232040c156a3743bd8a1c2629 (patch) | |
tree | b1f0dd230f36c5d755ae389cded8eac5add2f876 /src/mainboard/iwill/dk8_htx/mptable.c | |
parent | 4182c80286e913dc9d498b31652bacbb0cd43b40 (diff) | |
download | coreboot-49c30ba0177f4bc232040c156a3743bd8a1c2629.tar.xz |
mb/iwill: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I39fd521ac2f619ae7b5e12755f09bea5d782eae1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26091
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/iwill/dk8_htx/mptable.c')
-rw-r--r-- | src/mainboard/iwill/dk8_htx/mptable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/iwill/dk8_htx/mptable.c b/src/mainboard/iwill/dk8_htx/mptable.c index 74770d4dc5..daf9b421f0 100644 --- a/src/mainboard/iwill/dk8_htx/mptable.c +++ b/src/mainboard/iwill/dk8_htx/mptable.c @@ -31,7 +31,7 @@ static void *smp_write_config_table(void *v) /*I/O APICs: APIC ID Version State Address*/ smp_write_ioapic(mc, m->apicid_8111, 0x11, VIO_APIC_VADDR); //8111 { - device_t dev; + struct device *dev; struct resource *res; dev = dev_find_slot(m->bus_8132_0, PCI_DEVFN(m->sbdn3, 1)); if (dev) { @@ -130,7 +130,7 @@ static void *smp_write_config_table(void *v) for(i = 1; i< sysconf.hc_possible_num; i++) { if(!(sysconf.pci1234[i] & 0x1) ) continue; int ii; - device_t dev; + struct device *dev; struct resource *res; switch(sysconf.hcid[i]) { case 1: |