diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 22:07:08 +0200 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2018-05-07 17:45:02 +0000 |
commit | 9740bcb0cfb1271e062a4f8b7d182796c6c20356 (patch) | |
tree | 990a0f176cb316f8c180a9f76f329a4807611741 /src/mainboard/msi/ms7721/mptable.c | |
parent | 29c3f3b8e97aeef0419894c554ff9863848e1860 (diff) |
mb/msi: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I7f29fe3b85bc56ff3f2d225822c415513e961459
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26102
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Diffstat (limited to 'src/mainboard/msi/ms7721/mptable.c')
-rw-r--r-- | src/mainboard/msi/ms7721/mptable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/msi/ms7721/mptable.c b/src/mainboard/msi/ms7721/mptable.c index 31357699ff..cf45d94774 100644 --- a/src/mainboard/msi/ms7721/mptable.c +++ b/src/mainboard/msi/ms7721/mptable.c @@ -144,7 +144,7 @@ static void *smp_write_config_table(void *v) /* on board NIC & Slot PCIE. */ /* 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. */ |