diff options
Diffstat (limited to 'hw/timer/armv7m_systick.c')
-rw-r--r-- | hw/timer/armv7m_systick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/armv7m_systick.c b/hw/timer/armv7m_systick.c index f6b1ace..a07febd 100644 --- a/hw/timer/armv7m_systick.c +++ b/hw/timer/armv7m_systick.c @@ -290,7 +290,7 @@ static void systick_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->vmsd = &vmstate_systick; - dc->reset = systick_reset; + device_class_set_legacy_reset(dc, systick_reset); dc->realize = systick_realize; } |