summaryrefslogtreecommitdiff
path: root/target/xtensa/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/xtensa/cpu-qom.h')
-rw-r--r--target/xtensa/cpu-qom.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/xtensa/cpu-qom.h b/target/xtensa/cpu-qom.h
index ef13262b42..299ce3e63c 100644
--- a/target/xtensa/cpu-qom.h
+++ b/target/xtensa/cpu-qom.h
@@ -34,10 +34,8 @@
#define TYPE_XTENSA_CPU "xtensa-cpu"
-typedef struct XtensaCPU XtensaCPU;
-typedef struct XtensaCPUClass XtensaCPUClass;
-DECLARE_OBJ_CHECKERS(XtensaCPU, XtensaCPUClass,
- XTENSA_CPU, TYPE_XTENSA_CPU)
+OBJECT_DECLARE_TYPE(XtensaCPU, XtensaCPUClass,
+ xtensa_cpu, XTENSA_CPU)
typedef struct XtensaConfig XtensaConfig;