aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/imx_gpcv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/imx_gpcv2.c')
-rw-r--r--hw/intc/imx_gpcv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/imx_gpcv2.c b/hw/intc/imx_gpcv2.c
index af45e5194c..9e5cf28371 100644
--- a/hw/intc/imx_gpcv2.c
+++ b/hw/intc/imx_gpcv2.c
@@ -106,7 +106,7 @@ static void imx_gpcv2_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = imx_gpcv2_reset;
+ device_class_set_legacy_reset(dc, imx_gpcv2_reset);
dc->vmsd = &vmstate_imx_gpcv2;
dc->desc = "i.MX GPCv2 Module";
}