summary refs log tree commit diff stats
path: root/hw/intc/bcm2836_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/bcm2836_control.c')
-rw-r--r--hw/intc/bcm2836_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/bcm2836_control.c b/hw/intc/bcm2836_control.c
index 81faf032b0..197a0e2ccf 100644
--- a/hw/intc/bcm2836_control.c
+++ b/hw/intc/bcm2836_control.c
@@ -388,7 +388,7 @@ static void bcm2836_control_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = bcm2836_control_reset;
+    device_class_set_legacy_reset(dc, bcm2836_control_reset);
     dc->vmsd = &vmstate_bcm2836_control;
 }