From 97d5408f99d0c45b8142de0c5ef92d44ad876898 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:17:15 +0000 Subject: pci: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Message-id: 1453832250-766-23-git-send-email-peter.maydell@linaro.org --- hw/pci-host/apb.c | 1 + hw/pci-host/bonito.c | 2 +- hw/pci-host/gpex.c | 1 + hw/pci-host/ppce500.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) (limited to 'hw/pci-host') diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index 599768e..75dee50 100644 --- a/hw/pci-host/apb.c +++ b/hw/pci-host/apb.c @@ -27,6 +27,7 @@ Ultrasparc PCI host is called the PCI Bus Module (PBM). The APB is the secondary PCI bridge. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index b477679..1999ece 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -37,7 +37,7 @@ * north bridge address to pci address. */ -#include +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" diff --git a/hw/pci-host/gpex.c b/hw/pci-host/gpex.c index 9d8fb5a..66055ee 100644 --- a/hw/pci-host/gpex.c +++ b/hw/pci-host/gpex.c @@ -28,6 +28,7 @@ * http://www.kernel.org/doc/Documentation/devicetree/bindings/pci/host-generic-pci.txt * http://www.firmware.org/1275/practice/imap/imap0_9d.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci-host/gpex.h" diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c index 50add34..e502bc0 100644 --- a/hw/pci-host/ppce500.c +++ b/hw/pci-host/ppce500.c @@ -14,6 +14,7 @@ * (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/ppc/e500-ccsr.h" #include "hw/pci/pci.h" -- cgit v1.1