]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/arm/xlnx-versal.c
qdev: set properties with device_class_set_props()
[thirdparty/qemu.git] / hw / arm / xlnx-versal.c
index 8b3d8d85b86b4b92c4cd8327b52958be5e3f69d3..1cf3daaf4f4118079b56a4beef416e49d7007313 100644 (file)
@@ -305,7 +305,7 @@ static void versal_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
 
     dc->realize = versal_realize;
-    dc->props = versal_properties;
+    device_class_set_props(dc, versal_properties);
     /* No VMSD since we haven't got any top-level SoC state to save.  */
 }