]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/isa/lpc_ich9.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[mirror_qemu.git] / hw / isa / lpc_ich9.c
index a0866c3856b5d6c998466db6c56eef3ff99e99ac..e2215dcf4d45f220724947f8521472a6016e1f85 100644 (file)
@@ -805,7 +805,7 @@ static void ich9_lpc_class_init(ObjectClass *klass, void *data)
      * Reason: part of ICH9 southbridge, needs to be wired up by
      * pc_q35_init()
      */
-    dc->cannot_instantiate_with_device_add_yet = true;
+    dc->user_creatable = false;
     hc->plug = ich9_pm_device_plug_cb;
     hc->unplug_request = ich9_pm_device_unplug_request_cb;
     hc->unplug = ich9_pm_device_unplug_cb;