]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/intc/mips_gic.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / intc / mips_gic.h
index 5670421e6287990865b7e5c419a7834c3d90669c..65aa3a9a5eeedb80b14abf2bb1bf8afab65848f3 100644 (file)
 
 #define TYPE_MIPS_GIC "mips-gic"
 typedef struct MIPSGICState MIPSGICState;
-#define MIPS_GIC(obj) OBJECT_CHECK(MIPSGICState, (obj), TYPE_MIPS_GIC)
+DECLARE_INSTANCE_CHECKER(MIPSGICState, MIPS_GIC,
+                         TYPE_MIPS_GIC)
 
 /* Support up to 32 VPs and 256 IRQs */
 #define GIC_MAX_VPS             32