summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801dx/smihandler.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:45:33 +0200
committerMartin Roth <martinroth@google.com>2016-09-10 04:56:34 +0200
commitf9aac2f4ac6a999d763ea590b945cb981cd4e3d3 (patch)
tree994593b73662d0d7686d5a374b482d4d7dd5867a /src/southbridge/intel/i82801dx/smihandler.c
parent3c6bfaf8ca32dcab889229b6b5cb6656b514ae62 (diff)
downloadcoreboot-f9aac2f4ac6a999d763ea590b945cb981cd4e3d3.tar.xz
southbridge/intel/i82801dx: transition away from device_t
Replace the use of the old device_t definition inside southbridge/intel/i82801dx. Change-Id: Ic08a23f672f8b5e40b837d49a9475d52c728a306 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16485 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801dx/smihandler.c')
-rw-r--r--src/southbridge/intel/i82801dx/smihandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801dx/smihandler.c b/src/southbridge/intel/i82801dx/smihandler.c
index a5581694f8..3a08daad3f 100644
--- a/src/southbridge/intel/i82801dx/smihandler.c
+++ b/src/southbridge/intel/i82801dx/smihandler.c
@@ -240,7 +240,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);