]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/m68k/mcf_intc.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / m68k / mcf_intc.c
index 7ee447240b601a1ad3308890c19b915ae54bf434..cf02f57a711773581298c2d8c436ecb28dc16122 100644 (file)
@@ -18,9 +18,7 @@
 #include "qom/object.h"
 
 #define TYPE_MCF_INTC "mcf-intc"
-typedef struct mcf_intc_state mcf_intc_state;
-DECLARE_INSTANCE_CHECKER(mcf_intc_state, MCF_INTC,
-                         TYPE_MCF_INTC)
+OBJECT_DECLARE_SIMPLE_TYPE(mcf_intc_state, MCF_INTC)
 
 struct mcf_intc_state {
     SysBusDevice parent_obj;