aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/ppc-uic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/ppc-uic.c')
-rw-r--r--hw/intc/ppc-uic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/ppc-uic.c b/hw/intc/ppc-uic.c
index 9a67f7f651..f2a224f3aa 100644
--- a/hw/intc/ppc-uic.c
+++ b/hw/intc/ppc-uic.c
@@ -286,7 +286,7 @@ static void ppc_uic_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = ppc_uic_reset;
+ device_class_set_legacy_reset(dc, ppc_uic_reset);
dc->realize = ppc_uic_realize;
dc->vmsd = &ppc_uic_vmstate;
device_class_set_props(dc, ppc_uic_properties);