]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/arm/stm32f405_soc.c
qdev: set properties with device_class_set_props()
[thirdparty/qemu.git] / hw / arm / stm32f405_soc.c
index f22516fdf790d4680902afce3ea243b816c9a398..9bcad97853f4887bcf15fb41e2d9986aaf530c87 100644 (file)
@@ -282,7 +282,7 @@ static void stm32f405_soc_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = stm32f405_soc_realize;
-    dc->props = stm32f405_soc_properties;
+    device_class_set_props(dc, stm32f405_soc_properties);
     /* No vmstate or reset required: device has no internal state */
 }