]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/display/i2c-ddc.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / display / i2c-ddc.h
index fbabfea5a9685c67a210d38ae189bf301825401c..94b5880587460fb9763a14418eccf89b58265b31 100644 (file)
@@ -34,10 +34,8 @@ struct I2CDDCState {
     uint8_t edid_blob[128];
 };
 
-typedef struct I2CDDCState I2CDDCState;
 
 #define TYPE_I2CDDC "i2c-ddc"
-DECLARE_INSTANCE_CHECKER(I2CDDCState, I2CDDC,
-                         TYPE_I2CDDC)
+OBJECT_DECLARE_SIMPLE_TYPE(I2CDDCState, I2CDDC)
 
 #endif /* I2C_DDC_H */