aboutsummaryrefslogtreecommitdiff
path: root/include/hw/display/i2c-ddc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/display/i2c-ddc.h')
-rw-r--r--include/hw/display/i2c-ddc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/display/i2c-ddc.h b/include/hw/display/i2c-ddc.h
index fbabfea5a9..94b5880587 100644
--- a/include/hw/display/i2c-ddc.h
+++ b/include/hw/display/i2c-ddc.h
@@ -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 */