mb/emulation/qemu-i440fx: Get rid of device_t
Change-Id: I11c35d22d9a9cba3cdb6af0ec1d2c01de8c20b6e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26476 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
90ac7365ad
commit
ccb950265a
|
@ -47,7 +47,7 @@ static void qemu_reserve_ports(struct device *dev, unsigned int idx,
|
|||
IORESOURCE_ASSIGNED;
|
||||
}
|
||||
|
||||
static void cpu_pci_domain_set_resources(device_t dev)
|
||||
static void cpu_pci_domain_set_resources(struct device *dev)
|
||||
{
|
||||
assign_resources(dev->link_list);
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ static int qemu_get_smbios_data17(int handle, int parent_handle, unsigned long *
|
|||
return len;
|
||||
}
|
||||
|
||||
static int qemu_get_smbios_data(device_t dev, int *handle, unsigned long *current)
|
||||
static int qemu_get_smbios_data(struct device *dev, int *handle, unsigned long *current)
|
||||
{
|
||||
int len;
|
||||
|
||||
|
@ -235,15 +235,15 @@ static struct device_operations pci_domain_ops = {
|
|||
#endif
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
static void cpu_bus_init(struct device *dev)
|
||||
{
|
||||
initialize_cpus(dev->link_list);
|
||||
}
|
||||
|
||||
static void cpu_bus_scan(device_t bus)
|
||||
static void cpu_bus_scan(struct device *bus)
|
||||
{
|
||||
int max_cpus = fw_cfg_max_cpus();
|
||||
device_t cpu;
|
||||
struct device *cpu;
|
||||
int i;
|
||||
|
||||
if (max_cpus < 0)
|
||||
|
|
Loading…
Reference in New Issue