aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/sse-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/sse-timer.c')
-rw-r--r--hw/timer/sse-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/sse-timer.c b/hw/timer/sse-timer.c
index cb20a9e..115b013 100644
--- a/hw/timer/sse-timer.c
+++ b/hw/timer/sse-timer.c
@@ -451,7 +451,7 @@ static void sse_timer_class_init(ObjectClass *klass, void *data)
dc->realize = sse_timer_realize;
dc->vmsd = &sse_timer_vmstate;
- dc->reset = sse_timer_reset;
+ device_class_set_legacy_reset(dc, sse_timer_reset);
device_class_set_props(dc, sse_timer_properties);
}