OSDN Git Service

include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header
authorThomas Huth <thuth@redhat.com>
Tue, 21 Feb 2023 13:37:14 +0000 (13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Feb 2023 13:27:03 +0000 (13:27 +0000)
pci_device.h is not needed at all in allwinner-a10.h, and serial.h
is only needed by the corresponding .c file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20230215152233.210024-1-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-a10.c
include/hw/arm/allwinner-a10.h

index dc1966f..b7ca795 100644 (file)
@@ -18,6 +18,7 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
+#include "hw/char/serial.h"
 #include "hw/sysbus.h"
 #include "hw/arm/allwinner-a10.h"
 #include "hw/misc/unimp.h"
index 79e0c80..095afb2 100644 (file)
@@ -1,9 +1,7 @@
 #ifndef HW_ARM_ALLWINNER_A10_H
 #define HW_ARM_ALLWINNER_A10_H
 
-#include "hw/char/serial.h"
 #include "hw/arm/boot.h"
-#include "hw/pci/pci_device.h"
 #include "hw/timer/allwinner-a10-pit.h"
 #include "hw/intc/allwinner-a10-pic.h"
 #include "hw/net/allwinner_emac.h"