diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-01 17:04:14 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:21:31 +0200 |
commit | 196e3d439ee14cdf102b88c162b2f2ed871f0205 (patch) | |
tree | 2c3027f3afe596e95a01b1d16e6915ab56bcddc0 /src/southbridge/intel/i82801ix/early_smbus.c | |
parent | 25f75b28e4e545eb2c42e4e201055661e57a90ca (diff) |
southbridge/intel/i82801ix: transition away from device_t
Replace the use of the old device_t definition inside
southbridge/intel/i82801ix.
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: Ibf20e6c08994b09d2a2e68a1a1d38a7a477493aa
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16403
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801ix/early_smbus.c')
-rw-r--r-- | src/southbridge/intel/i82801ix/early_smbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801ix/early_smbus.c b/src/southbridge/intel/i82801ix/early_smbus.c index 3cac32f3b3..31b33e92d9 100644 --- a/src/southbridge/intel/i82801ix/early_smbus.c +++ b/src/southbridge/intel/i82801ix/early_smbus.c @@ -24,7 +24,7 @@ void enable_smbus(void) { - device_t dev; + pci_devfn_t dev; /* Set the SMBus device statically. */ dev = PCI_DEV(0x0, 0x1f, 0x3); |