summary refs log tree commit diff stats
path: root/hw/fsi/fsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsi/fsi.c')
-rw-r--r--hw/fsi/fsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsi/fsi.c b/hw/fsi/fsi.c
index 9a5f4e616f..83ddb17ae6 100644
--- a/hw/fsi/fsi.c
+++ b/hw/fsi/fsi.c
@@ -82,7 +82,7 @@ static void fsi_slave_class_init(ObjectClass *klass, void *data)
 
     dc->bus_type = TYPE_FSI_BUS;
     dc->desc = "FSI Slave";
-    dc->reset = fsi_slave_reset;
+    device_class_set_legacy_reset(dc, fsi_slave_reset);
 }
 
 static const TypeInfo fsi_slave_info = {