]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/block/nand.c
Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging
[mirror_qemu.git] / hw / block / nand.c
index e396004315e4b1446007b0dbe6b8aa1136c99e29..bba89688ba0eb30737af3903d611329b657779ca 100644 (file)
@@ -448,7 +448,7 @@ static void nand_class_init(ObjectClass *klass, void *data)
     dc->realize = nand_realize;
     dc->reset = nand_reset;
     dc->vmsd = &vmstate_nand;
-    dc->props = nand_properties;
+    device_class_set_props(dc, nand_properties);
 }
 
 static const TypeInfo nand_info = {