From 8e930c1036a3250404fabc46cb6518e4aefa8fce Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Tue, 8 Nov 2016 18:44:46 +0100 Subject: northbridge/via/cx700: transition away from device_t Replace the use of the old device_t definition inside northbridge/via/cx700. Change-Id: I6e25f898ab55ee959f1b3b8aba9616c3ba18986d Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/17315 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/northbridge/via/cx700/early_smbus.c | 2 +- src/northbridge/via/cx700/raminit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/northbridge/via/cx700/early_smbus.c b/src/northbridge/via/cx700/early_smbus.c index b501baf3a3..e106f09d5e 100644 --- a/src/northbridge/via/cx700/early_smbus.c +++ b/src/northbridge/via/cx700/early_smbus.c @@ -186,7 +186,7 @@ static unsigned int get_spd_data(const struct mem_controller *ctrl, unsigned int static void enable_smbus(void) { - device_t dev; + pci_devfn_t dev; /* The CX700 ISA Bridge (0x1106, 0x8324) is hardcoded to this location, * no need to probe. diff --git a/src/northbridge/via/cx700/raminit.c b/src/northbridge/via/cx700/raminit.c index f8d709c135..a75be41745 100644 --- a/src/northbridge/via/cx700/raminit.c +++ b/src/northbridge/via/cx700/raminit.c @@ -1228,7 +1228,7 @@ static void sdram_enable(const struct mem_controller *ctrl) { u8 reg8; u8 val, i; - device_t dev; + pci_devfn_t dev; u8 dl, dh; u32 quot; -- cgit v1.2.3