summary refs log tree commit diff stats
path: root/hw/intc/pl190.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/pl190.c')
-rw-r--r--hw/intc/pl190.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/pl190.c b/hw/intc/pl190.c
index d79e5d8076..a5e2d76315 100644
--- a/hw/intc/pl190.c
+++ b/hw/intc/pl190.c
@@ -277,7 +277,7 @@ static void pl190_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = pl190_reset;
+    device_class_set_legacy_reset(dc, pl190_reset);
     dc->vmsd = &vmstate_pl190;
 }