]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/dp8393x.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[mirror_qemu.git] / hw / net / dp8393x.c
index efa33ad40a42d210778e92fd7303fa286c7af9fb..b53fcaa8bc318cbf5948a060a5961a1ddf384127 100644 (file)
@@ -934,7 +934,7 @@ static void dp8393x_class_init(ObjectClass *klass, void *data)
     dc->vmsd = &vmstate_dp8393x;
     dc->props = dp8393x_properties;
     /* Reason: dma_mr property can't be set */
-    dc->cannot_instantiate_with_device_add_yet = true;
+    dc->user_creatable = false;
 }
 
 static const TypeInfo dp8393x_info = {