diff options
author | Antonello Dettori <dev@dettori.io> | 2016-11-08 18:44:46 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-03-23 18:51:58 +0100 |
commit | 823f7bb9622873fb40f4bdb706dcd83298386290 (patch) | |
tree | cb8cf7d636d56252be8303a7d4269c10981e1f36 /src/northbridge/via/vx900/early_smbus.c | |
parent | a34e70e00216b268891da76b44895d09a84d890a (diff) |
northbridge/via/vx900: transition away from device_t
Replace the use of the old device_t definition inside
northbridge/via/vx900.
Change-Id: I04292a6b698a42a5c582eddcef7cf5a235e1a464
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/17317
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/via/vx900/early_smbus.c')
-rw-r--r-- | src/northbridge/via/vx900/early_smbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/via/vx900/early_smbus.c b/src/northbridge/via/vx900/early_smbus.c index 93a9254453..0cf7427e5d 100644 --- a/src/northbridge/via/vx900/early_smbus.c +++ b/src/northbridge/via/vx900/early_smbus.c @@ -76,7 +76,7 @@ u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset) void enable_smbus(void) { - device_t dev; + pci_devfn_t dev; u8 reg8; u32 smbus_dev = (u32) SMBUS_IO_BASE; |