summary refs log tree commit diff stats
path: root/hw/pci-host/dino.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/dino.c')
-rw-r--r--hw/pci-host/dino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/dino.c b/hw/pci-host/dino.c
index d992c4bb69..283fc0dc57 100644
--- a/hw/pci-host/dino.c
+++ b/hw/pci-host/dino.c
@@ -502,7 +502,7 @@ static void dino_pcihost_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = dino_pcihost_reset;
+    device_class_set_legacy_reset(dc, dino_pcihost_reset);
     dc->realize = dino_pcihost_realize;
     dc->unrealize = dino_pcihost_unrealize;
     device_class_set_props(dc, dino_pcihost_properties);