aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/allwinner-h3-ccu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/allwinner-h3-ccu.c')
-rw-r--r--hw/misc/allwinner-h3-ccu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-h3-ccu.c b/hw/misc/allwinner-h3-ccu.c
index cfc68522d3..92e579a991 100644
--- a/hw/misc/allwinner-h3-ccu.c
+++ b/hw/misc/allwinner-h3-ccu.c
@@ -222,7 +222,7 @@ static void allwinner_h3_ccu_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = allwinner_h3_ccu_reset;
+ device_class_set_legacy_reset(dc, allwinner_h3_ccu_reset);
dc->vmsd = &allwinner_h3_ccu_vmstate;
}