summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-09 17:39:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-18 12:17:54 +0000
commit97e8b754bf9061ceac897c65497c4ef1f26d0a2c (patch)
treec0eea1772aca11608c21c88af61aa1312156dfff /src
parentbe841404cc836aa0e4727f7cad7337cb38371e1d (diff)
nb/intel/e7505: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I2176ea83fac30052c02d9f6e98c89c40436a38e8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26194 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/e7505/northbridge.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/northbridge/intel/e7505/northbridge.c b/src/northbridge/intel/e7505/northbridge.c
index 23012d62b2..f0aea07d09 100644
--- a/src/northbridge/intel/e7505/northbridge.c
+++ b/src/northbridge/intel/e7505/northbridge.c
@@ -16,9 +16,9 @@ unsigned long acpi_fill_mcfg(unsigned long current)
return current;
}
-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;
uint32_t pci_tolm;
pci_tolm = find_pci_tolm(dev->link_list);
@@ -97,7 +97,8 @@ static void pci_domain_set_resources(device_t dev)
assign_resources(dev->link_list);
}
-static void intel_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void intel_set_subsystem(struct device *dev,
+ unsigned vendor, unsigned device)
{
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,
((device & 0xffff) << 16) | (vendor & 0xffff));
@@ -116,7 +117,7 @@ static struct device_operations pci_domain_ops = {
.ops_pci = &intel_pci_ops,
};
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
{
initialize_cpus(dev->link_list);
}