summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800/early_smbus.c
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-15 18:21:30 +0100
commita2f1d1892144b5e7b62055b1387553d839ad6ee8 (patch)
tree986e61d489bb0812a20ab6e5b9c91cbbf605a384 /src/northbridge/via/vx800/early_smbus.c
parent8e930c1036a3250404fabc46cb6518e4aefa8fce (diff)
northbridge/via/vx800: transition away from device_t
Replace the use of the old device_t definition inside northbridge/via/vx800. Change-Id: I14a2b4d847f8aeb327d90f385dea998779fae24f Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17316 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/via/vx800/early_smbus.c')
-rw-r--r--src/northbridge/via/vx800/early_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/via/vx800/early_smbus.c b/src/northbridge/via/vx800/early_smbus.c
index fd03cfbd67..2c8d5bf47c 100644
--- a/src/northbridge/via/vx800/early_smbus.c
+++ b/src/northbridge/via/vx800/early_smbus.c
@@ -128,7 +128,7 @@ static unsigned int get_spd_data(unsigned int dimm, unsigned int offset)
void enable_smbus(void)
{
- device_t dev;
+ pci_devfn_t dev;
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855_LPC), 0);