diff options
Diffstat (limited to 'hw/timer/avr_timer16.c')
-rw-r--r-- | hw/timer/avr_timer16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/avr_timer16.c b/hw/timer/avr_timer16.c index c48555d..4219200 100644 --- a/hw/timer/avr_timer16.c +++ b/hw/timer/avr_timer16.c @@ -600,7 +600,7 @@ static void avr_timer16_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - dc->reset = avr_timer16_reset; + device_class_set_legacy_reset(dc, avr_timer16_reset); dc->realize = avr_timer16_realize; device_class_set_props(dc, avr_timer16_properties); } |