summaryrefslogtreecommitdiffstats
path: root/target/avr/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/avr/cpu-qom.h')
-rw-r--r--target/avr/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/avr/cpu-qom.h b/target/avr/cpu-qom.h
index fac8430253..1bbfbb2087 100644
--- a/target/avr/cpu-qom.h
+++ b/target/avr/cpu-qom.h
@@ -28,12 +28,8 @@
typedef struct AVRCPU AVRCPU;
typedef struct AVRCPUClass AVRCPUClass;
-#define AVR_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(AVRCPUClass, (klass), TYPE_AVR_CPU)
-#define AVR_CPU(obj) \
- OBJECT_CHECK(AVRCPU, (obj), TYPE_AVR_CPU)
-#define AVR_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(AVRCPUClass, (obj), TYPE_AVR_CPU)
+DECLARE_OBJ_CHECKERS(AVRCPU, AVRCPUClass,
+ AVR_CPU, TYPE_AVR_CPU)
/**
* AVRCPUClass: