all: 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 <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Maydell 2016-02-08 19:01:23 +00:00
parent 2aef8c9134
commit c964b66022
8 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,7 @@
* This code is licensed under the GNU GPLv2 and later. * This code is licensed under the GNU GPLv2 and later.
*/ */
#include "qemu/osdep.h"
#include "hw/arm/bcm2835_peripherals.h" #include "hw/arm/bcm2835_peripherals.h"
#include "hw/misc/bcm2835_mbox_defs.h" #include "hw/misc/bcm2835_mbox_defs.h"
#include "hw/arm/raspi_platform.h" #include "hw/arm/raspi_platform.h"

View File

@ -8,6 +8,7 @@
* This code is licensed under the GNU GPLv2 and later. * This code is licensed under the GNU GPLv2 and later.
*/ */
#include "qemu/osdep.h"
#include "hw/arm/bcm2836.h" #include "hw/arm/bcm2836.h"
#include "hw/arm/raspi_platform.h" #include "hw/arm/raspi_platform.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View File

@ -8,6 +8,7 @@
* This code is licensed under the GNU GPLv2 and later. * This code is licensed under the GNU GPLv2 and later.
*/ */
#include "qemu/osdep.h"
#include "hw/arm/bcm2836.h" #include "hw/arm/bcm2836.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/boards.h" #include "hw/boards.h"

View File

@ -12,6 +12,7 @@
* This code is licensed under the GPL. * This code is licensed under the GPL.
*/ */
#include "qemu/osdep.h"
#include "hw/intc/bcm2835_ic.h" #include "hw/intc/bcm2835_ic.h"
#define GPU_IRQS 64 #define GPU_IRQS 64

View File

@ -13,6 +13,7 @@
* https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf * https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf
*/ */
#include "qemu/osdep.h"
#include "hw/intc/bcm2836_control.h" #include "hw/intc/bcm2836_control.h"
#define REG_GPU_ROUTE 0x0c #define REG_GPU_ROUTE 0x0c

View File

@ -8,6 +8,7 @@
* https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes * https://github.com/raspberrypi/firmware/wiki/Accessing-mailboxes
*/ */
#include "qemu/osdep.h"
#include "hw/misc/bcm2835_mbox.h" #include "hw/misc/bcm2835_mbox.h"
#define MAIL0_PEEK 0x90 #define MAIL0_PEEK 0x90

View File

@ -3,6 +3,7 @@
* This code is licensed under the GNU GPLv2 and later. * This code is licensed under the GNU GPLv2 and later.
*/ */
#include "qemu/osdep.h"
#include "hw/misc/bcm2835_property.h" #include "hw/misc/bcm2835_property.h"
#include "hw/misc/bcm2835_mbox_defs.h" #include "hw/misc/bcm2835_mbox_defs.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"

View File

@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "block/block_int.h" #include "block/block_int.h"
void blockdev_close_all_bdrv_states(void) void blockdev_close_all_bdrv_states(void)