aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/tz-msc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/tz-msc.c')
-rw-r--r--hw/misc/tz-msc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tz-msc.c b/hw/misc/tz-msc.c
index 7d522ac0ec..acbe94400b 100644
--- a/hw/misc/tz-msc.c
+++ b/hw/misc/tz-msc.c
@@ -293,7 +293,7 @@ static void tz_msc_class_init(ObjectClass *klass, void *data)
dc->realize = tz_msc_realize;
dc->vmsd = &tz_msc_vmstate;
dc->reset = tz_msc_reset;
- dc->props = tz_msc_properties;
+ device_class_set_props(dc, tz_msc_properties);
}
static const TypeInfo tz_msc_info = {