diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-05 08:43:19 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2018-05-08 11:32:07 +0000 |
commit | 29c657f4c6c24899579dfda4de0ca553fde08c51 (patch) | |
tree | ae71750e46dca7663b7d87665713b16ed5516f8c /src/mainboard/jetway/nf81-t56n-lf/mptable.c | |
parent | 20c78048a7a637d0de4505bdcbc00a994eee83fc (diff) |
mb/jetway: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I574d9e46ebe6993f356c3617f2e5ff21b5ef55a5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26111
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/jetway/nf81-t56n-lf/mptable.c')
-rw-r--r-- | src/mainboard/jetway/nf81-t56n-lf/mptable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/jetway/nf81-t56n-lf/mptable.c b/src/mainboard/jetway/nf81-t56n-lf/mptable.c index 140b874226..92564c264a 100644 --- a/src/mainboard/jetway/nf81-t56n-lf/mptable.c +++ b/src/mainboard/jetway/nf81-t56n-lf/mptable.c @@ -111,7 +111,7 @@ static void *smp_write_config_table(void *v) PCI_INT(0x2, 0x0, 0x0, intr_data_ptr[PIRQ_E]); /* Use INTE */ /* PCI slots */ - device_t dev = dev_find_slot(0, PCI_DEVFN(0x14, 4)); + struct device *dev = dev_find_slot(0, PCI_DEVFN(0x14, 4)); if (dev && dev->enabled) { u8 bus_pci = dev->link_list->secondary; /* PCI_SLOT 0 */ |