diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-02 09:15:33 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:22:48 +0200 |
commit | 040117af5296080dcaf5dcaf687fb6bbf80e83a5 (patch) | |
tree | 85bcc36327e6a57080e550bb928c63a4911eeb83 /src/southbridge/intel/ibexpeak/early_smbus.c | |
parent | 061d781e993b1fffd559a0af08cbb41a4a0675c7 (diff) | |
download | coreboot-040117af5296080dcaf5dcaf687fb6bbf80e83a5.tar.xz |
southbridge/intel/ibexpeak: transition away from device_t
Replace the use of the old device_t definition inside
southbridge/intel/ibexpeak.
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: Ic569aada9301b37e73196872584e191d553acd86
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16408
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/ibexpeak/early_smbus.c')
-rw-r--r-- | src/southbridge/intel/ibexpeak/early_smbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/early_smbus.c b/src/southbridge/intel/ibexpeak/early_smbus.c index 3d4c23769c..f3dab8d00f 100644 --- a/src/southbridge/intel/ibexpeak/early_smbus.c +++ b/src/southbridge/intel/ibexpeak/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); |