hw/arm: Don't include qemu-common.h unnecessarily
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Nov 2021 20:05:10 +0000 (20:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
A lot of C files in hw/arm include qemu-common.h when they don't
need anything from it. Drop the include lines.

omap1.c, pxa2xx.c and strongarm.c retain the include because they
use it for the prototype of qemu_get_timedate().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Message-id: 20211129200510.1233037-5-peter.maydell@linaro.org

hw/arm/boot.c
hw/arm/digic_boards.c
hw/arm/highbank.c
hw/arm/npcm7xx_boards.c
hw/arm/sbsa-ref.c
hw/arm/stm32f405_soc.c
hw/arm/vexpress.c
hw/arm/virt.c

index 74ad397b1ff907b11dd226c81b3289cc6aafbb30..399f8e837ce9e8faaddf3daffcddb9d777d2b4b1 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
index b771a3d8b740b591d830ad8a94d829c7de3fe64b..4093af09cb26745ca6ce8e92e6a033d9c60d6c7a 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "hw/boards.h"
 #include "qemu/error-report.h"
index c3cb315dbc632a611d2890233926acad9cf417ed..4210894d8141d7be7241798f61dff74657ddeb1a 100644 (file)
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "qapi/error.h"
 #include "hw/sysbus.h"
index dec7d16ae51e624133191c166e6c468eda3a32d2..aff8c8704209356ba75d6110b650a682d21a8156 100644 (file)
@@ -24,7 +24,6 @@
 #include "hw/qdev-core.h"
 #include "hw/qdev-properties.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "qemu/units.h"
 #include "sysemu/blockdev.h"
index 358714bd3e8d405313e83b1d56fae4996a44bb5c..dd944553f781698b7d33dd4557a93a38d3e990a2 100644 (file)
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
index 0019b7f478541121c7bf520d4bf7ba3c0d59d156..c07947d9f8b1c9a7e7abed104a63d8643e318125 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "exec/address-spaces.h"
 #include "sysemu/sysemu.h"
 #include "hw/arm/stm32f405_soc.h"
index 58481c07629aedb09864dcc72757ff7947e733bb..3e6d63c7f96d9eb9fffd0b0a18a84a8f05d1e886 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
index 30da05dfe040e35b0fc7c2834c946cad0b6f728c..3e2144e31af8daf86997b978b54a58d206fbdfae 100644 (file)
@@ -29,7 +29,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/datadir.h"
 #include "qemu/units.h"
 #include "qemu/option.h"