Received: from eggs.gnu.org ([2001:4830:134:3::10]:40522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAb9-0000Wf-Iv for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTAb8-00077n-4D for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:03 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:57247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTAb7-00076J-SZ for qemu-devel@nongnu.org; Tue, 09 Feb 2016 10:53:02 -0500 From: Peter Maydell Date: Tue, 9 Feb 2016 15:25:10 +0000 Message-Id: <1455031511-23684-14-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> References: <1455031511-23684-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 13/14] all: Clean up includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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 --- hw/arm/bcm2835_peripherals.c | 1 + hw/arm/bcm2836.c | 1 + hw/arm/raspi.c | 1 + hw/intc/bcm2835_ic.c | 1 + hw/intc/bcm2836_control.c | 1 + hw/misc/bcm2835_mbox.c | 1 + hw/misc/bcm2835_property.c | 1 + stubs/blockdev-close-all-bdrv-states.c | 1 + 8 files changed, 8 insertions(+) diff --git a/hw/arm/bcm2835_peripherals.c b/hw/arm/bcm2835_peripherals.c index 18b72ec..866fc76 100644 --- a/hw/arm/bcm2835_peripherals.c +++ b/hw/arm/bcm2835_peripherals.c @@ -8,6 +8,7 @@ * This code is licensed under the GNU GPLv2 and later. */ +#include "qemu/osdep.h" #include "hw/arm/bcm2835_peripherals.h" #include "hw/misc/bcm2835_mbox_defs.h" #include "hw/arm/raspi_platform.h" diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c index 69c7438..3a1a7bd 100644 --- a/hw/arm/bcm2836.c +++ b/hw/arm/bcm2836.c @@ -8,6 +8,7 @@ * This code is licensed under the GNU GPLv2 and later. */ +#include "qemu/osdep.h" #include "hw/arm/bcm2836.h" #include "hw/arm/raspi_platform.h" #include "hw/sysbus.h" diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index 0c9427c..4f8fa00 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -8,6 +8,7 @@ * This code is licensed under the GNU GPLv2 and later. */ +#include "qemu/osdep.h" #include "hw/arm/bcm2836.h" #include "qemu/error-report.h" #include "hw/boards.h" diff --git a/hw/intc/bcm2835_ic.c b/hw/intc/bcm2835_ic.c index 005a72b..80513b2 100644 --- a/hw/intc/bcm2835_ic.c +++ b/hw/intc/bcm2835_ic.c @@ -12,6 +12,7 @@ * This code is licensed under the GPL. */ +#include "qemu/osdep.h" #include "hw/intc/bcm2835_ic.h" #define GPU_IRQS 64 diff --git a/hw/intc/bcm2836_control.c b/hw/intc/bcm2836_control.c index ad622aa..d027181 100644 --- a/hw/intc/bcm2836_control.c +++ b/hw/intc/bcm2836_control.c @@ -13,6 +13,7 @@ * https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf */ +#include "qemu/osdep.h" #include "hw/intc/bcm2836_control.h" #define REG_GPU_ROUTE 0x0c diff --git a/hw/misc/bcm2835_mbox.c b/hw/misc/bcm2835_mbox.c index df1d6e6..500baba 100644 --- a/hw/misc/bcm2835_mbox.c +++ b/hw/misc/bcm2835_mbox.c @@ -8,6 +8,7 @@ * https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes */ +#include "qemu/osdep.h" #include "hw/misc/bcm2835_mbox.h" #define MAIL0_PEEK 0x90 diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c index e42b43e..5778aaa 100644 --- a/hw/misc/bcm2835_property.c +++ b/hw/misc/bcm2835_property.c @@ -3,6 +3,7 @@ * This code is licensed under the GNU GPLv2 and later. */ +#include "qemu/osdep.h" #include "hw/misc/bcm2835_property.h" #include "hw/misc/bcm2835_mbox_defs.h" #include "sysemu/dma.h" diff --git a/stubs/blockdev-close-all-bdrv-states.c b/stubs/blockdev-close-all-bdrv-states.c index 12d2442..f1f1d9c 100644 --- a/stubs/blockdev-close-all-bdrv-states.c +++ b/stubs/blockdev-close-all-bdrv-states.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "block/block_int.h" void blockdev_close_all_bdrv_states(void) -- 1.9.1