aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/iwill/dk8_htx/get_bus_conf.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:59:58 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:22:05 +0000
commit49c30ba0177f4bc232040c156a3743bd8a1c2629 (patch)
treeb1f0dd230f36c5d755ae389cded8eac5add2f876 /src/mainboard/iwill/dk8_htx/get_bus_conf.c
parent4182c80286e913dc9d498b31652bacbb0cd43b40 (diff)
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/get_bus_conf.c')
-rw-r--r--src/mainboard/iwill/dk8_htx/get_bus_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/iwill/dk8_htx/get_bus_conf.c b/src/mainboard/iwill/dk8_htx/get_bus_conf.c
index 25dcab1ab3..1121fb3689 100644
--- a/src/mainboard/iwill/dk8_htx/get_bus_conf.c
+++ b/src/mainboard/iwill/dk8_htx/get_bus_conf.c
@@ -46,7 +46,7 @@ static unsigned get_hcid(unsigned i)
unsigned devn = sysconf.hcdn[i] & 0xff;
- device_t dev;
+ struct device *dev;
dev = dev_find_slot(busn, PCI_DEVFN(devn, 0));
@@ -74,7 +74,7 @@ void get_bus_conf(void)
unsigned apicid_base;
- device_t dev;
+ struct device *dev;
int i, j;
struct mb_sysconf_t *m;