aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/imx7_snvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/imx7_snvs.c')
-rw-r--r--hw/misc/imx7_snvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/imx7_snvs.c b/hw/misc/imx7_snvs.c
index edb2df215a..070d55339e 100644
--- a/hw/misc/imx7_snvs.c
+++ b/hw/misc/imx7_snvs.c
@@ -147,7 +147,7 @@ static void imx7_snvs_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = imx7_snvs_reset;
+ device_class_set_legacy_reset(dc, imx7_snvs_reset);
dc->vmsd = &vmstate_imx7_snvs;
dc->desc = "i.MX7 Secure Non-Volatile Storage Module";
}