aboutsummaryrefslogtreecommitdiff
path: root/hw/fsi/fsi-master.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsi/fsi-master.c')
-rw-r--r--hw/fsi/fsi-master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsi/fsi-master.c b/hw/fsi/fsi-master.c
index a5f0598c98..50fb1cd467 100644
--- a/hw/fsi/fsi-master.c
+++ b/hw/fsi/fsi-master.c
@@ -151,7 +151,7 @@ static void fsi_master_class_init(ObjectClass *klass, void *data)
dc->bus_type = TYPE_OP_BUS;
dc->desc = "FSI Master";
dc->realize = fsi_master_realize;
- dc->reset = fsi_master_reset;
+ device_class_set_legacy_reset(dc, fsi_master_reset);
}
static const TypeInfo fsi_master_info = {