]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/misc/imx_rngc.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / misc / imx_rngc.h
index cd7ba8f91e984afaab33ac38826ce371f3ec470c..f7b569cac5d71b4e16306e755e7952ba00598d8e 100644 (file)
@@ -15,7 +15,8 @@
 
 #define TYPE_IMX_RNGC "imx.rngc"
 typedef struct IMXRNGCState IMXRNGCState;
-#define IMX_RNGC(obj) OBJECT_CHECK(IMXRNGCState, (obj), TYPE_IMX_RNGC)
+DECLARE_INSTANCE_CHECKER(IMXRNGCState, IMX_RNGC,
+                         TYPE_IMX_RNGC)
 
 struct IMXRNGCState {
     /*< private >*/