summary refs log tree commit diff stats
path: root/hw/fsi/aspeed_apb2opb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsi/aspeed_apb2opb.c')
-rw-r--r--hw/fsi/aspeed_apb2opb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsi/aspeed_apb2opb.c b/hw/fsi/aspeed_apb2opb.c
index ea50718b6a..0e2cc143f1 100644
--- a/hw/fsi/aspeed_apb2opb.c
+++ b/hw/fsi/aspeed_apb2opb.c
@@ -326,7 +326,7 @@ static void fsi_aspeed_apb2opb_class_init(ObjectClass *klass, void *data)
 
     dc->desc = "ASPEED APB2OPB Bridge";
     dc->realize = fsi_aspeed_apb2opb_realize;
-    dc->reset = fsi_aspeed_apb2opb_reset;
+    device_class_set_legacy_reset(dc, fsi_aspeed_apb2opb_reset);
 }
 
 static const TypeInfo aspeed_apb2opb_info = {