diff options
Diffstat (limited to 'hw/timer/renesas_tmr.c')
-rw-r--r-- | hw/timer/renesas_tmr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/renesas_tmr.c b/hw/timer/renesas_tmr.c index 1d47d06..a93e075 100644 --- a/hw/timer/renesas_tmr.c +++ b/hw/timer/renesas_tmr.c @@ -473,7 +473,7 @@ static void rtmr_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->vmsd = &vmstate_rtmr; - dc->reset = rtmr_reset; + device_class_set_legacy_reset(dc, rtmr_reset); device_class_set_props(dc, rtmr_properties); } |