aboutsummaryrefslogtreecommitdiff
path: root/hw/core/split-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/core/split-irq.c')
-rw-r--r--hw/core/split-irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/split-irq.c b/hw/core/split-irq.c
index b5acc669fb..3b90af2e8f 100644
--- a/hw/core/split-irq.c
+++ b/hw/core/split-irq.c
@@ -69,7 +69,7 @@ static void split_irq_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
/* No state to reset or migrate */
- dc->props = split_irq_properties;
+ device_class_set_props(dc, split_irq_properties);
dc->realize = split_irq_realize;
/* Reason: Needs to be wired up to work */