include: Rename LoongArchExtIOI with LoongArchExtIOICommonState
authorBibo Mao <maobibo@loongson.cn>
Fri, 20 Sep 2024 02:17:06 +0000 (10:17 +0800)
committerBibo Mao <maobibo@loongson.cn>
Thu, 19 Dec 2024 07:23:29 +0000 (15:23 +0800)
Rename structure LoongArchExtIOI with LoongArchExtIOICommonState,
since it is defined in file loongarch_extioi_common.h

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
include/hw/intc/loongarch_extioi.h
include/hw/intc/loongarch_extioi_common.h

index 64924f5a0aaa7fb8fc3497ed0a07fb102e48b4d4..d6747046b4ed3f09dd7221179efbec711e48bdd7 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "hw/intc/loongarch_extioi_common.h"
 
+#define LoongArchExtIOI LoongArchExtIOICommonState
 #define TYPE_LOONGARCH_EXTIOI "loongarch.extioi"
 OBJECT_DECLARE_SIMPLE_TYPE(LoongArchExtIOI, LOONGARCH_EXTIOI)
 #endif /* LOONGARCH_EXTIOI_H */
index 1eb8780549c5ed67f0288de26609cf72580dabde..51243b80927875e71719f3beecc7493de748eccf 100644 (file)
@@ -62,7 +62,7 @@ typedef struct ExtIOICore {
     qemu_irq parent_irq[LS3A_INTC_IP];
 } ExtIOICore;
 
-struct LoongArchExtIOI {
+struct LoongArchExtIOICommonState {
     SysBusDevice parent_obj;
     uint32_t num_cpu;
     uint32_t features;