]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/arm/bcm2836.c
qdev: set properties with device_class_set_props()
[thirdparty/qemu.git] / hw / arm / bcm2836.c
index 221ff0689564b28fef154158d151ce53e62aedd2..38e2941baba081052e0b64966d5cbc3ed193e7ff 100644 (file)
@@ -180,7 +180,7 @@ static void bcm283x_class_init(ObjectClass *oc, void *data)
 
     bc->info = data;
     dc->realize = bcm2836_realize;
-    dc->props = bcm2836_props;
+    device_class_set_props(dc, bcm2836_props);
     /* Reason: Must be wired up in code (see raspi_init() function) */
     dc->user_creatable = false;
 }