hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"
commit38e131d2e2fa6e9b17782d7ce96e7207fa276562
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 11:46:41 +0000 (28 12:46 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 9 Mar 2020 14:59:31 +0000 (9 15:59 +0100)
tree5fd32bb90269fbb517eb0cdc0f79554580aac0ce
parente07c4f44b0d5c80577cb00421a5370d2dbbcfa6b
hw/acpi/cpu_hotplug: Include "hw/pci/pci.h"

hw/acpi/cpu_hotplug.c calls pci_address_space_io(). Include
"hw/pci/pci.h" which declares it.

This fixes (when modifying unrelated headers):

  hw/acpi/cpu_hotplug.c:103:28: error: implicit declaration of function 'pci_address_space_io' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      MemoryRegion *parent = pci_address_space_io(PCI_DEVICE(gpe_cpu->device));
                             ^

Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200228114649.12818-11-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/acpi/cpu_hotplug.c