summary refs log tree commit diff stats
path: root/hw/intc/bcm2835_ic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/bcm2835_ic.c')
-rw-r--r--hw/intc/bcm2835_ic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/bcm2835_ic.c b/hw/intc/bcm2835_ic.c
index 2c2e2b1822..4a42fcf60d 100644
--- a/hw/intc/bcm2835_ic.c
+++ b/hw/intc/bcm2835_ic.c
@@ -223,7 +223,7 @@ static void bcm2835_ic_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = bcm2835_ic_reset;
+    device_class_set_legacy_reset(dc, bcm2835_ic_reset);
     dc->vmsd = &vmstate_bcm2835_ic;
 }