summary refs log tree commit diff stats
path: root/hw/ssi/pl022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi/pl022.c')
-rw-r--r--hw/ssi/pl022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c
index b8be8ddf0e..53c9c225ad 100644
--- a/hw/ssi/pl022.c
+++ b/hw/ssi/pl022.c
@@ -296,7 +296,7 @@ static void pl022_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = pl022_reset;
+    device_class_set_legacy_reset(dc, pl022_reset);
     dc->vmsd = &vmstate_pl022;
     dc->realize = pl022_realize;
 }