aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/tz-mpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/tz-mpc.c')
-rw-r--r--hw/misc/tz-mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tz-mpc.c b/hw/misc/tz-mpc.c
index 92b994919b..66a46a7b9f 100644
--- a/hw/misc/tz-mpc.c
+++ b/hw/misc/tz-mpc.c
@@ -599,7 +599,7 @@ static void tz_mpc_class_init(ObjectClass *klass, void *data)
dc->realize = tz_mpc_realize;
dc->vmsd = &tz_mpc_vmstate;
- dc->reset = tz_mpc_reset;
+ device_class_set_legacy_reset(dc, tz_mpc_reset);
device_class_set_props(dc, tz_mpc_properties);
}