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 de5a3126cc..82ccaa014a 100644
--- a/hw/misc/tz-msc.c
+++ b/hw/misc/tz-msc.c
@@ -292,7 +292,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;
+ device_class_set_legacy_reset(dc, tz_msc_reset);
device_class_set_props(dc, tz_msc_properties);
}