aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/allwinner-sid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/allwinner-sid.c')
-rw-r--r--hw/misc/allwinner-sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-sid.c b/hw/misc/allwinner-sid.c
index e5cd431..19ff17d 100644
--- a/hw/misc/allwinner-sid.c
+++ b/hw/misc/allwinner-sid.c
@@ -148,7 +148,7 @@ static void allwinner_sid_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = allwinner_sid_reset;
+ device_class_set_legacy_reset(dc, allwinner_sid_reset);
dc->vmsd = &allwinner_sid_vmstate;
device_class_set_props(dc, allwinner_sid_properties);
}