On 3/24/22 19:15, Zongyuan Li wrote:
Signed-off-by: Zongyuan Li <[email protected]>
---
  hw/arm/exynos4210.c           | 26 +++++++++++
  hw/intc/exynos4210_combiner.c | 81 +++++++++++++++++++++++++++--------
  hw/intc/exynos4210_gic.c      | 36 +++++++++++++---
  include/hw/arm/exynos4210.h   | 11 ++---
  include/hw/core/split-irq.h   |  5 +--
  5 files changed, 126 insertions(+), 33 deletions(-)

diff --git a/include/hw/core/split-irq.h b/include/hw/core/split-irq.h
index ff8852f407..eb485dd7a6 100644
--- a/include/hw/core/split-irq.h
+++ b/include/hw/core/split-irq.h
@@ -42,9 +42,6 @@
#define MAX_SPLIT_LINES 16 -
-OBJECT_DECLARE_SIMPLE_TYPE(SplitIRQ, SPLIT_IRQ)
-
  struct SplitIRQ {
      DeviceState parent_obj;
@@ -52,4 +49,6 @@ struct SplitIRQ {
      uint16_t num_lines;
  };
+OBJECT_DECLARE_SIMPLE_TYPE(SplitIRQ, SPLIT_IRQ)
+
  #endif

Is there a reason to move the OBJECT_DECLARE_SIMPLE_TYPE line ?

--
Damien

Reply via email to