]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/display/i2c-ddc.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / include / hw / display / i2c-ddc.h
index 8ab50641aab00139d029eebefeef15f55692167b..fbabfea5a9685c67a210d38ae189bf301825401c 100644 (file)
@@ -37,6 +37,7 @@ struct I2CDDCState {
 typedef struct I2CDDCState I2CDDCState;
 
 #define TYPE_I2CDDC "i2c-ddc"
-#define I2CDDC(obj) OBJECT_CHECK(I2CDDCState, (obj), TYPE_I2CDDC)
+DECLARE_INSTANCE_CHECKER(I2CDDCState, I2CDDC,
+                         TYPE_I2CDDC)
 
 #endif /* I2C_DDC_H */