summaryrefslogtreecommitdiff
path: root/target/lm32/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/lm32/cpu-qom.h')
-rw-r--r--target/lm32/cpu-qom.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/lm32/cpu-qom.h b/target/lm32/cpu-qom.h
index 9bf2f82ffe..e9eb495bf0 100644
--- a/target/lm32/cpu-qom.h
+++ b/target/lm32/cpu-qom.h
@@ -25,10 +25,8 @@
#define TYPE_LM32_CPU "lm32-cpu"
-typedef struct LM32CPU LM32CPU;
-typedef struct LM32CPUClass LM32CPUClass;
-DECLARE_OBJ_CHECKERS(LM32CPU, LM32CPUClass,
- LM32_CPU, TYPE_LM32_CPU)
+OBJECT_DECLARE_TYPE(LM32CPU, LM32CPUClass,
+ lm32_cpu, LM32_CPU)
/**
* LM32CPUClass: