summary refs log tree commit diff stats
path: root/hw/i2c/omap_i2c.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-28 12:46:41 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-03-09 15:59:31 +0100
commit38e131d2e2fa6e9b17782d7ce96e7207fa276562 (patch)
tree5fd32bb90269fbb517eb0cdc0f79554580aac0ce /hw/i2c/omap_i2c.c
parente07c4f44b0d5c80577cb00421a5370d2dbbcfa6b (diff)
downloadfocaccia-qemu-38e131d2e2fa6e9b17782d7ce96e7207fa276562.tar.gz
focaccia-qemu-38e131d2e2fa6e9b17782d7ce96e7207fa276562.zip
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>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions