hw/arm/exynos4210: Get arm_boot_info declaration from 'hw/arm/boot.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Oct 2023 13:02:14 +0000 (15:02 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Oct 2023 12:01:52 +0000 (13:01 +0100)
struct arm_boot_info is declared in "hw/arm/boot.h".
By including the correct header we don't need to declare
it again in "target/arm/cpu-qom.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20231013130214.95742-1-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/arm/exynos4210.h
target/arm/cpu-qom.h

index 68db19f0cb775739194de3ff70cc2176822cb7c5..d33fe385865152ca6126aa7ef9a645752749ce80 100644 (file)
@@ -30,7 +30,7 @@
 #include "hw/intc/exynos4210_gic.h"
 #include "hw/intc/exynos4210_combiner.h"
 #include "hw/core/split-irq.h"
-#include "target/arm/cpu-qom.h"
+#include "hw/arm/boot.h"
 #include "qom/object.h"
 
 #define EXYNOS4210_NCPUS                    2
index 514c22ced9b861cc9fe5404d3e962f741ee2dff2..d06c08a734ed393f900e5e25d376b05653262cdd 100644 (file)
@@ -23,8 +23,6 @@
 #include "hw/core/cpu.h"
 #include "qom/object.h"
 
-struct arm_boot_info;
-
 #define TYPE_ARM_CPU "arm-cpu"
 
 OBJECT_DECLARE_CPU_TYPE(ARMCPU, ARMCPUClass, ARM_CPU)