aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/iotkit-sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/iotkit-sysinfo.c')
-rw-r--r--hw/misc/iotkit-sysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/iotkit-sysinfo.c b/hw/misc/iotkit-sysinfo.c
index 783e613959..b2dcfc4376 100644
--- a/hw/misc/iotkit-sysinfo.c
+++ b/hw/misc/iotkit-sysinfo.c
@@ -121,7 +121,7 @@ static void iotkit_sysinfo_class_init(ObjectClass *klass, void *data)
* does not need a reset function or VMState.
*/
- dc->props = iotkit_sysinfo_props;
+ device_class_set_props(dc, iotkit_sysinfo_props);
}
static const TypeInfo iotkit_sysinfo_info = {