aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/allwinner-a10-pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/allwinner-a10-pic.c')
-rw-r--r--hw/intc/allwinner-a10-pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/allwinner-a10-pic.c b/hw/intc/allwinner-a10-pic.c
index cea559c39d..c0f30092cd 100644
--- a/hw/intc/allwinner-a10-pic.c
+++ b/hw/intc/allwinner-a10-pic.c
@@ -191,7 +191,7 @@ static void aw_a10_pic_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = aw_a10_pic_reset;
+ device_class_set_legacy_reset(dc, aw_a10_pic_reset);
dc->desc = "allwinner a10 pic";
dc->vmsd = &vmstate_aw_a10_pic;
}