]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/intc/i8259_common.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[mirror_qemu.git] / hw / intc / i8259_common.c
index d9a5e8b2177e09cfa60d8c0353887c862719ccbb..c2fd563b5b42d1eca7da182cc7a08d238169ec1c 100644 (file)
@@ -144,7 +144,7 @@ static void pic_common_class_init(ObjectClass *klass, void *data)
      * wiring of the slave to the master is hard-coded in device model
      * code.
      */
-    dc->cannot_instantiate_with_device_add_yet = true;
+    dc->user_creatable = false;
 }
 
 static const TypeInfo pic_common_type = {