include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header
PATCH 1/1 include/hw/arm/allwinner-a10.h: Remove superfluous includes from the header
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 <[email protected]>
--- include/hw/arm/allwinner-a10.h | 2 -- hw/arm/allwinner-a10.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)
include/hw/arm/allwinner-a10.h +0 -2
@@ -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"
hw/arm/allwinner-a10.c +1 -0
@@ -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"
Signature · 1 line
2.31.1
Quoted 4 lines · Thomas Huth
pci_device.his not needed at all inallwinner-a10.h, andserial.his only needed by the corresponding .c file.Signed-off-by Thomas Huth <[email protected]>
Reviewed-by Alex Bennée <[email protected]>
Signature · 2 lines
Alex Bennée Virtualisation Tech Lead @ Linaro
Peter Maydell
AppliedQuoted 9 lines · Thomas Huth
pci_device.his not needed at all inallwinner-a10.h, andserial.his only needed by the corresponding .c file.Signed-off-by Thomas Huth <[email protected]>--- include/hw/arm/allwinner-a10.h | 2 -- hw/arm/allwinner-a10.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)
Applied to target-arm.next, thanks.
-- PMM