]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/pnv_occ.c
configure / meson: Move check for linux/btrfs.h to meson.build
[mirror_qemu.git] / hw / ppc / pnv_occ.c
index 924fdabc9e6343f96ab170020704c6d0546eca26..5a716c256edc6522f90b9a3fa15d0ab637a6184e 100644 (file)
@@ -279,7 +279,8 @@ static void pnv_occ_class_init(ObjectClass *klass, void *data)
 
     dc->realize = pnv_occ_realize;
     dc->desc = "PowerNV OCC Controller";
-    dc->props = pnv_occ_properties;
+    device_class_set_props(dc, pnv_occ_properties);
+    dc->user_creatable = false;
 }
 
 static const TypeInfo pnv_occ_type_info = {