all: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Feb 2016 19:01:23 +0000 (19:01 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2016 14:29:28 +0000 (14:29 +0000)
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 <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
hw/arm/bcm2835_peripherals.c
hw/arm/bcm2836.c
hw/arm/raspi.c
hw/intc/bcm2835_ic.c
hw/intc/bcm2836_control.c
hw/misc/bcm2835_mbox.c
hw/misc/bcm2835_property.c
stubs/blockdev-close-all-bdrv-states.c

index e4fb48b..72467fd 100644 (file)
@@ -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"
index 8a4d13c..15c7622 100644 (file)
@@ -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"
index 7d3d21a..48d014c 100644 (file)
@@ -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"
index 005a72b..80513b2 100644 (file)
@@ -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
index ad622aa..d027181 100644 (file)
@@ -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
index df1d6e6..500baba 100644 (file)
@@ -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
index 45bd6c1..581922a 100644 (file)
@@ -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"
index 12d2442..f1f1d9c 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "block/block_int.h"
 
 void blockdev_close_all_bdrv_states(void)