]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/misc/mps2-fpgaio.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / misc / mps2-fpgaio.h
index e844041bb04ad2f97f8c47ce8f75b47b6343b860..991f5b731e830366528ab743d0553b2e68d70a47 100644 (file)
@@ -26,7 +26,8 @@
 
 #define TYPE_MPS2_FPGAIO "mps2-fpgaio"
 typedef struct MPS2FPGAIO MPS2FPGAIO;
-#define MPS2_FPGAIO(obj) OBJECT_CHECK(MPS2FPGAIO, (obj), TYPE_MPS2_FPGAIO)
+DECLARE_INSTANCE_CHECKER(MPS2FPGAIO, MPS2_FPGAIO,
+                         TYPE_MPS2_FPGAIO)
 
 struct MPS2FPGAIO {
     /*< private >*/