From ccb950265aac78e8c519dccb5d590cf3a7d68a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 22 May 2018 00:16:23 +0300 Subject: mb/emulation/qemu-i440fx: Get rid of device_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I11c35d22d9a9cba3cdb6af0ec1d2c01de8c20b6e Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26476 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/emulation/qemu-i440fx/northbridge.c | 10 +++++----- 1 file 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) -- cgit v1.2.3