Skip to content

Commit

Permalink
all: Clean up includes
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
  • Loading branch information
pm215 committed Feb 16, 2016
1 parent 2aef8c9 commit c964b66
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/arm/bcm2835_peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions hw/arm/bcm2836.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions hw/arm/raspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions hw/intc/bcm2835_ic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions hw/intc/bcm2836_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions hw/misc/bcm2835_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions hw/misc/bcm2835_property.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions stubs/blockdev-close-all-bdrv-states.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "block/block_int.h"

void blockdev_close_all_bdrv_states(void)
Expand Down

0 comments on commit c964b66

Please sign in to comment.