aboutsummaryrefslogtreecommitdiff
path: root/target/microblaze/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/microblaze/cpu-qom.h')
-rw-r--r--target/microblaze/cpu-qom.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/microblaze/cpu-qom.h b/target/microblaze/cpu-qom.h
index 73c2237..82734b9 100644
--- a/target/microblaze/cpu-qom.h
+++ b/target/microblaze/cpu-qom.h
@@ -25,10 +25,8 @@
#define TYPE_MICROBLAZE_CPU "microblaze-cpu"
-typedef struct MicroBlazeCPU MicroBlazeCPU;
-typedef struct MicroBlazeCPUClass MicroBlazeCPUClass;
-DECLARE_OBJ_CHECKERS(MicroBlazeCPU, MicroBlazeCPUClass,
- MICROBLAZE_CPU, TYPE_MICROBLAZE_CPU)
+OBJECT_DECLARE_TYPE(MicroBlazeCPU, MicroBlazeCPUClass,
+ microblaze_cpu, MICROBLAZE_CPU)
/**
* MicroBlazeCPUClass: