aboutsummaryrefslogtreecommitdiff
path: root/hw/cpu/realview_mpcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cpu/realview_mpcore.c')
-rw-r--r--hw/cpu/realview_mpcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cpu/realview_mpcore.c b/hw/cpu/realview_mpcore.c
index ae2c9913f6..cc2767c716 100644
--- a/hw/cpu/realview_mpcore.c
+++ b/hw/cpu/realview_mpcore.c
@@ -125,7 +125,7 @@ static void mpcore_rirq_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = realview_mpcore_realize;
- dc->props = mpcore_rirq_properties;
+ device_class_set_props(dc, mpcore_rirq_properties);
}
static const TypeInfo mpcore_rirq_info = {