aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/ompic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/ompic.c')
-rw-r--r--hw/intc/ompic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/ompic.c b/hw/intc/ompic.c
index ca9614fda1..c354427a61 100644
--- a/hw/intc/ompic.c
+++ b/hw/intc/ompic.c
@@ -161,7 +161,7 @@ static void or1k_ompic_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->props = or1k_ompic_properties;
+ device_class_set_props(dc, or1k_ompic_properties);
dc->realize = or1k_ompic_realize;
dc->vmsd = &vmstate_or1k_ompic;
}