aboutsummaryrefslogtreecommitdiff
path: root/hw/display/tcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/tcx.c')
-rw-r--r--hw/display/tcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index abbeb30284..ca458f94fe 100644
--- a/hw/display/tcx.c
+++ b/hw/display/tcx.c
@@ -893,7 +893,7 @@ static void tcx_class_init(ObjectClass *klass, void *data)
dc->realize = tcx_realizefn;
dc->reset = tcx_reset;
dc->vmsd = &vmstate_tcx;
- dc->props = tcx_properties;
+ device_class_set_props(dc, tcx_properties);
}
static const TypeInfo tcx_info = {