summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-i440fx
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-22 00:16:23 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:27:33 +0000
commitccb950265aac78e8c519dccb5d590cf3a7d68a1f (patch)
treeecac69031d378cd76adba6301ac55b7b4cd43f81 /src/mainboard/emulation/qemu-i440fx
parent90ac7365ad648fe93bf41fda62364513aa6b1154 (diff)
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>
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index 9305ffb763..b27e0f8502 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -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)