aboutsummaryrefslogtreecommitdiff
path: root/hw/display/i2c-ddc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/i2c-ddc.c')
-rw-r--r--hw/display/i2c-ddc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/i2c-ddc.c b/hw/display/i2c-ddc.c
index fc70b7930c..13eb529fc1 100644
--- a/hw/display/i2c-ddc.c
+++ b/hw/display/i2c-ddc.c
@@ -107,7 +107,7 @@ static void i2c_ddc_class_init(ObjectClass *oc, void *data)
dc->reset = i2c_ddc_reset;
dc->vmsd = &vmstate_i2c_ddc;
- dc->props = i2c_ddc_properties;
+ device_class_set_props(dc, i2c_ddc_properties);
isc->event = i2c_ddc_event;
isc->recv = i2c_ddc_rx;
isc->send = i2c_ddc_tx;