aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/early_smbus.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-08-30 22:05:32 +0200
committerMartin Roth <martinroth@google.com>2016-09-13 17:22:07 +0200
commit061d781e993b1fffd559a0af08cbb41a4a0675c7 (patch)
tree56ec01a75fafeb75f0437fc579aa4a86af3b60b9 /src/southbridge/intel/i82801gx/early_smbus.c
parent196e3d439ee14cdf102b88c162b2f2ed871f0205 (diff)
southbridge/intel/i82801gx: transition away from device_t
Replace the use of the old device_t definition inside southbridge/intel/i82801gx. The patch has been tested both with the arch/io.h definition of device_t enabled and disabled in order to ensure compatibility while the transaction takes place. Change-Id: Ia257318a7068b54739f319bfbba35f2a07826940 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16370 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801gx/early_smbus.c')
-rw-r--r--src/southbridge/intel/i82801gx/early_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801gx/early_smbus.c b/src/southbridge/intel/i82801gx/early_smbus.c
index 2f9cdeb060..47fe5f6a7c 100644
--- a/src/southbridge/intel/i82801gx/early_smbus.c
+++ b/src/southbridge/intel/i82801gx/early_smbus.c
@@ -23,7 +23,7 @@
void enable_smbus(void)
{
- device_t dev;
+ pci_devfn_t dev;
/* Set the SMBus device statically. */
dev = PCI_DEV(0x0, 0x1f, 0x3);