diff options
Diffstat (limited to 'hw/misc/arm_l2x0.c')
-rw-r--r-- | hw/misc/arm_l2x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c index b14d0a2676..1902ebd3bc 100644 --- a/hw/misc/arm_l2x0.c +++ b/hw/misc/arm_l2x0.c @@ -184,7 +184,7 @@ static void l2x0_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_l2x0; device_class_set_props(dc, l2x0_properties); - dc->reset = l2x0_priv_reset; + device_class_set_legacy_reset(dc, l2x0_priv_reset); } static const TypeInfo l2x0_info = { |