aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/tz-ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/tz-ppc.c')
-rw-r--r--hw/misc/tz-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tz-ppc.c b/hw/misc/tz-ppc.c
index 6450778720..922dcf7f63 100644
--- a/hw/misc/tz-ppc.c
+++ b/hw/misc/tz-ppc.c
@@ -332,7 +332,7 @@ static void tz_ppc_class_init(ObjectClass *klass, void *data)
dc->realize = tz_ppc_realize;
dc->vmsd = &tz_ppc_vmstate;
- dc->reset = tz_ppc_reset;
+ device_class_set_legacy_reset(dc, tz_ppc_reset);
device_class_set_props(dc, tz_ppc_properties);
}