aboutsummaryrefslogtreecommitdiff
path: root/hw/core/or-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/core/or-irq.c')
-rw-r--r--hw/core/or-irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/or-irq.c b/hw/core/or-irq.c
index 18d63831cd..4bbdbcb321 100644
--- a/hw/core/or-irq.c
+++ b/hw/core/or-irq.c
@@ -125,7 +125,7 @@ static void or_irq_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->reset = or_irq_reset;
- dc->props = or_irq_properties;
+ device_class_set_props(dc, or_irq_properties);
dc->realize = or_irq_realize;
dc->vmsd = &vmstate_or_irq;