summary refs log tree commit diff stats
path: root/hw/pci-host/mv64361.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/mv64361.c')
-rw-r--r--hw/pci-host/mv64361.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/mv64361.c b/hw/pci-host/mv64361.c
index 01bd8c887f..1036d8600d 100644
--- a/hw/pci-host/mv64361.c
+++ b/hw/pci-host/mv64361.c
@@ -928,7 +928,7 @@ static void mv64361_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = mv64361_realize;
-    dc->reset = mv64361_reset;
+    device_class_set_legacy_reset(dc, mv64361_reset);
 }
 
 static const TypeInfo mv64361_type_info = {