aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/rs6000_mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/rs6000_mc.c')
-rw-r--r--hw/ppc/rs6000_mc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/rs6000_mc.c b/hw/ppc/rs6000_mc.c
index 66b14db..f8a498b 100644
--- a/hw/ppc/rs6000_mc.c
+++ b/hw/ppc/rs6000_mc.c
@@ -222,7 +222,7 @@ static void rs6000mc_class_initfn(ObjectClass *klass, void *data)
dc->realize = rs6000mc_realize;
dc->vmsd = &vmstate_rs6000mc;
- dc->props = rs6000mc_properties;
+ device_class_set_props(dc, rs6000mc_properties);
}
static const TypeInfo rs6000mc_info = {