Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/23672
Change subject: nb/intel/i440: Get rid off device_t ......................................................................
nb/intel/i440: Get rid off device_t
Use of `device_t` has been abandoned in ramstage
Change-Id: Ibd01659f518b7a2b1aaf334fe5b16cfb936b68b7 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/intel/i440bx/northbridge.c M src/northbridge/intel/i440bx/northbridge.h 2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/23672/1
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c index 8e5aa11..1245be6 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 @@ .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 @@ .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 5b721b5..8df5666 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 */