]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/dma/i8257.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / dma / i8257.h
index 46eef1f5818b8ade685561d601b64a36a2a52ed8..362ce7b8dc5748e04dec5df6ddf6526d6525edad 100644 (file)
@@ -7,8 +7,8 @@
 
 #define TYPE_I8257 "i8257"
 typedef struct I8257State I8257State;
-#define I8257(obj) \
-    OBJECT_CHECK(I8257State, (obj), TYPE_I8257)
+DECLARE_INSTANCE_CHECKER(I8257State, I8257,
+                         TYPE_I8257)
 
 typedef struct I8257Regs {
     int now[2];