aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/xlnx-pmu-iomod-intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/xlnx-pmu-iomod-intc.c')
-rw-r--r--hw/intc/xlnx-pmu-iomod-intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/xlnx-pmu-iomod-intc.c b/hw/intc/xlnx-pmu-iomod-intc.c
index f9a1401a94..acaa1c3e6f 100644
--- a/hw/intc/xlnx-pmu-iomod-intc.c
+++ b/hw/intc/xlnx-pmu-iomod-intc.c
@@ -539,7 +539,7 @@ static void xlnx_pmu_io_intc_class_init(ObjectClass *klass, void *data)
dc->reset = xlnx_pmu_io_intc_reset;
dc->realize = xlnx_pmu_io_intc_realize;
dc->vmsd = &vmstate_xlnx_pmu_io_intc;
- dc->props = xlnx_pmu_io_intc_properties;
+ device_class_set_props(dc, xlnx_pmu_io_intc_properties);
}
static const TypeInfo xlnx_pmu_io_intc_info = {