nb/intel/i440: Get rid of device_t

Use of `device_t` has been abandoned in ramstage.

Change-Id: Ibd01659f518b7a2b1aaf334fe5b16cfb936b68b7
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/23672
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Elyes HAOUAS 2018-02-09 08:43:01 +01:00 committed by Patrick Georgi
parent 6275360d56
commit 64d2d106a4
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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 */