summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/via/cx700/early_smbus.c2
-rw-r--r--src/northbridge/via/cx700/raminit.c2
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;