summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c6
-rw-r--r--src/northbridge/intel/i440bx/northbridge.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 8e5aa1191f..1245be65fb 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -12,7 +12,7 @@
#include "northbridge.h"
#include "i440bx.h"
-static void northbridge_init(device_t dev)
+static void northbridge_init(struct device *dev)
{
printk(BIOS_SPEW, "Northbridge Init\n");
}
@@ -32,7 +32,7 @@ static const struct pci_driver northbridge_driver __pci_driver = {
.device = 0x7190,
};
-static void i440bx_domain_set_resources(device_t dev)
+static void i440bx_domain_set_resources(struct device *dev)
{
device_t mc_dev;
uint32_t pci_tolm;
@@ -82,7 +82,7 @@ static struct device_operations pci_domain_ops = {
.ops_pci_bus = pci_bus_default_ops,
};
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
{
initialize_cpus(dev->link_list);
}
diff --git a/src/northbridge/intel/i440bx/northbridge.h b/src/northbridge/intel/i440bx/northbridge.h
index 5b721b5003..8df5666d4b 100644
--- a/src/northbridge/intel/i440bx/northbridge.h
+++ b/src/northbridge/intel/i440bx/northbridge.h
@@ -17,6 +17,6 @@
#ifndef NORTHBRIDGE_INTEL_440BX_H
#define NORTHBRIDGE_INTEL_440BX_H
-extern unsigned int i440bx_scan_root_bus(device_t root, unsigned int max);
+extern unsigned int i440bx_scan_root_bus(struct device *root, unsigned int max);
#endif /* NORTHBRIDGE_INTEL_440BX_H */