aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/imx_avic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/imx_avic.c')
-rw-r--r--hw/intc/imx_avic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/imx_avic.c b/hw/intc/imx_avic.c
index aedc708..e1c9ce7 100644
--- a/hw/intc/imx_avic.c
+++ b/hw/intc/imx_avic.c
@@ -346,7 +346,7 @@ static void imx_avic_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->vmsd = &vmstate_imx_avic;
- dc->reset = imx_avic_reset;
+ device_class_set_legacy_reset(dc, imx_avic_reset);
dc->desc = "i.MX Advanced Vector Interrupt Controller";
}