summary refs log tree commit diff stats
path: root/hw/pci-host/ppc440_pcix.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/ppc440_pcix.c')
-rw-r--r--hw/pci-host/ppc440_pcix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/ppc440_pcix.c b/hw/pci-host/ppc440_pcix.c
index ef212d99aa..07924bce28 100644
--- a/hw/pci-host/ppc440_pcix.c
+++ b/hw/pci-host/ppc440_pcix.c
@@ -524,7 +524,7 @@ static void ppc440_pcix_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = ppc440_pcix_realize;
-    dc->reset = ppc440_pcix_reset;
+    device_class_set_legacy_reset(dc, ppc440_pcix_reset);
 }
 
 static const TypeInfo ppc440_pcix_info = {