summaryrefslogtreecommitdiff
path: root/hw/core/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/core/register.c')
-rw-r--r--hw/core/register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/register.c b/hw/core/register.c
index dc335a79a9..da38ef3a54 100644
--- a/hw/core/register.c
+++ b/hw/core/register.c
@@ -288,7 +288,7 @@ static void register_class_init(ObjectClass *oc, void *data)
DeviceClass *dc = DEVICE_CLASS(oc);
/* Reason: needs to be wired up to work */
- dc->cannot_instantiate_with_device_add_yet = true;
+ dc->user_creatable = false;
}
static const TypeInfo register_info = {