aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc/rx_icu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/rx_icu.h')
-rw-r--r--include/hw/intc/rx_icu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/intc/rx_icu.h b/include/hw/intc/rx_icu.h
index ec02df35e3..7f5889b36f 100644
--- a/include/hw/intc/rx_icu.h
+++ b/include/hw/intc/rx_icu.h
@@ -69,10 +69,8 @@ struct RXICUState {
qemu_irq _fir;
qemu_irq _swi;
};
-typedef struct RXICUState RXICUState;
#define TYPE_RX_ICU "rx-icu"
-DECLARE_INSTANCE_CHECKER(RXICUState, RX_ICU,
- TYPE_RX_ICU)
+OBJECT_DECLARE_SIMPLE_TYPE(RXICUState, RX_ICU)
#endif /* RX_ICU_H */