aboutsummaryrefslogtreecommitdiff
path: root/target/tricore/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/tricore/cpu-qom.h')
-rw-r--r--target/tricore/cpu-qom.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/tricore/cpu-qom.h b/target/tricore/cpu-qom.h
index 1988c26093..9e588c4c34 100644
--- a/target/tricore/cpu-qom.h
+++ b/target/tricore/cpu-qom.h
@@ -24,10 +24,8 @@
#define TYPE_TRICORE_CPU "tricore-cpu"
-typedef struct TriCoreCPU TriCoreCPU;
-typedef struct TriCoreCPUClass TriCoreCPUClass;
-DECLARE_OBJ_CHECKERS(TriCoreCPU, TriCoreCPUClass,
- TRICORE_CPU, TYPE_TRICORE_CPU)
+OBJECT_DECLARE_TYPE(TriCoreCPU, TriCoreCPUClass,
+ tricore_cpu, TRICORE_CPU)
struct TriCoreCPUClass {
/*< private >*/