aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/fsp_i89xx/smihandler.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-15 16:59:06 +0200
committerNico Huber <nico.h@gmx.de>2018-05-24 17:35:16 +0000
commitac350f82cd4dfab20a6fb49e5dea536ae448e054 (patch)
tree7b1890b9c173639d4c3be18a551ae4fcb11308d7 /src/southbridge/intel/fsp_i89xx/smihandler.c
parent688d004c4f8d94089c637be3a53ebdbb48493e97 (diff)
sb/intel/fsp_i89xx: Get rid of device_t
Use of device_t is discouraged unless necessary. Change-Id: I89f9fe94c1e3e5c2b183572d7f603d016d0f0e1c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26249 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/intel/fsp_i89xx/smihandler.c')
-rw-r--r--src/southbridge/intel/fsp_i89xx/smihandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/fsp_i89xx/smihandler.c b/src/southbridge/intel/fsp_i89xx/smihandler.c
index 8a6506b77a..3658a82d4c 100644
--- a/src/southbridge/intel/fsp_i89xx/smihandler.c
+++ b/src/southbridge/intel/fsp_i89xx/smihandler.c
@@ -242,7 +242,7 @@ static void busmaster_disable_on_bus(int bus)
for (slot = 0; slot < 0x20; slot++) {
for (func = 0; func < 8; func++) {
u32 reg32;
- device_t dev = PCI_DEV(bus, slot, func);
+ pci_devfn_t dev = PCI_DEV(bus, slot, func);
val = pci_read_config32(dev, PCI_VENDOR_ID);