aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700/northbridge.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-20 10:56:52 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:01:51 +0000
commit8aafbd825276cff1f61f7395c8d15bf03ee63292 (patch)
tree5476242d152cc4810e35a4593bd46447fd154be8 /src/northbridge/via/cx700/northbridge.c
parent315b239c3578a1448796ba5901bf1023c511207c (diff)
nb/via/cx700: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iaca908cc9ba5d11468a97d2f43911db925b93f1e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26424 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/northbridge/via/cx700/northbridge.c')
-rw-r--r--src/northbridge/via/cx700/northbridge.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/via/cx700/northbridge.c b/src/northbridge/via/cx700/northbridge.c
index 51e78616c7..ef887859c6 100644
--- a/src/northbridge/via/cx700/northbridge.c
+++ b/src/northbridge/via/cx700/northbridge.c
@@ -27,9 +27,9 @@
#include <cbmem.h>
#include <arch/acpi.h>
-static void pci_domain_set_resources(device_t dev)
+static void pci_domain_set_resources(struct device *dev)
{
- device_t mc_dev;
+ struct device *mc_dev;
u32 pci_tolm;
unsigned char reg;
unsigned long tomk, tolmk;
@@ -78,7 +78,7 @@ static void pci_domain_set_resources(device_t dev)
unsigned long acpi_fill_mcfg(unsigned long current)
{
- device_t dev;
+ struct device *dev;
u64 mmcfg;
dev = dev_find_device(0x1106, 0x324b, 0); // 0:0x13.0
@@ -107,7 +107,7 @@ static struct device_operations pci_domain_ops = {
.write_acpi_tables = acpi_write_hpet,
};
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
{
initialize_cpus(dev->link_list);
}