aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/msf2-sysreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/msf2-sysreg.c')
-rw-r--r--hw/misc/msf2-sysreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/msf2-sysreg.c b/hw/misc/msf2-sysreg.c
index ddc5a30c80..2dce55c364 100644
--- a/hw/misc/msf2-sysreg.c
+++ b/hw/misc/msf2-sysreg.c
@@ -143,7 +143,7 @@ static void msf2_sysreg_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_msf2_sysreg;
dc->reset = msf2_sysreg_reset;
- dc->props = msf2_sysreg_properties;
+ device_class_set_props(dc, msf2_sysreg_properties);
dc->realize = msf2_sysreg_realize;
}