[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/25] include/hw/arm/allwinner-a10.h: Remove superfluous includes
From: |
Peter Maydell |
Subject: |
[PULL 01/25] include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header |
Date: |
Mon, 27 Feb 2023 14:00:38 +0000 |
From: Thomas Huth <thuth@redhat.com>
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>
---
include/hw/arm/allwinner-a10.h | 2 --
hw/arm/allwinner-a10.c | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/arm/allwinner-a10.h b/include/hw/arm/allwinner-a10.h
index 79e0c80568e..095afb225d6 100644
--- a/include/hw/arm/allwinner-a10.h
+++ b/include/hw/arm/allwinner-a10.h
@@ -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"
diff --git a/hw/arm/allwinner-a10.c b/hw/arm/allwinner-a10.c
index dc1966ff7a2..b7ca795c712 100644
--- a/hw/arm/allwinner-a10.c
+++ b/hw/arm/allwinner-a10.c
@@ -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"
--
2.34.1
- [PULL 00/25] target-arm queue, Peter Maydell, 2023/02/27
- [PULL 01/25] include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header,
Peter Maydell <=
- [PULL 02/25] target/arm: Wrap breakpoint/watchpoint updates with tcg_enabled, Peter Maydell, 2023/02/27
- [PULL 05/25] target/arm: move helpers to tcg/, Peter Maydell, 2023/02/27
- [PULL 08/25] target/arm: Move hflags code into the tcg directory, Peter Maydell, 2023/02/27
- [PULL 14/25] hw/char/pl011: Un-inline pl011_create(), Peter Maydell, 2023/02/27
- [PULL 17/25] hw/char/xilinx_uartlite: Open-code xilinx_uartlite_create(), Peter Maydell, 2023/02/27
- [PULL 21/25] hw/arm/musicpal: Remove unused dummy MemoryRegion, Peter Maydell, 2023/02/27
- [PULL 25/25] hw: Replace qemu_or_irq typedef by OrIRQState, Peter Maydell, 2023/02/27
- [PULL 09/25] target/arm: Move regime_using_lpae_format into internal.h, Peter Maydell, 2023/02/27
- [PULL 15/25] hw/char/pl011: Open-code pl011_luminary_create(), Peter Maydell, 2023/02/27
- [PULL 07/25] target/arm: Wrap arm_rebuild_hflags calls with tcg_enabled, Peter Maydell, 2023/02/27