From: Philippe Mathieu-Daudé Date: Tue, 13 Feb 2024 12:01:51 +0000 (+0100) Subject: hw/acpi/cpu_hotplug: Include 'pci_device.h' instead of 'pci.h' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=480c9b22330ddf18b11c027857e3c0d54448e027;p=qemu.git hw/acpi/cpu_hotplug: Include 'pci_device.h' instead of 'pci.h' cpu_hotplug.c only needs the PCI *device* definitions. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Reviewed-by: Luc Michel Signed-off-by: Michael Tokarev --- diff --git a/hw/acpi/cpu_hotplug.c b/hw/acpi/cpu_hotplug.c index 6f78db0ccb..f7fe905e0a 100644 --- a/hw/acpi/cpu_hotplug.c +++ b/hw/acpi/cpu_hotplug.c @@ -14,7 +14,7 @@ #include "qapi/error.h" #include "hw/core/cpu.h" #include "hw/i386/pc.h" -#include "hw/pci/pci.h" +#include "hw/pci/pci_device.h" #include "qemu/error-report.h" #define CPU_EJECT_METHOD "CPEJ"