aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/a9scu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/a9scu.c')
-rw-r--r--hw/misc/a9scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/a9scu.c b/hw/misc/a9scu.c
index 04225df..a40d507 100644
--- a/hw/misc/a9scu.c
+++ b/hw/misc/a9scu.c
@@ -134,7 +134,7 @@ static void a9_scu_class_init(ObjectClass *klass, void *data)
device_class_set_props(dc, a9_scu_properties);
dc->vmsd = &vmstate_a9_scu;
- dc->reset = a9_scu_reset;
+ device_class_set_legacy_reset(dc, a9_scu_reset);
dc->realize = a9_scu_realize;
}