aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/nios2_iic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/nios2_iic.c')
-rw-r--r--hw/intc/nios2_iic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/nios2_iic.c b/hw/intc/nios2_iic.c
index 190b6fdbf3..016426f964 100644
--- a/hw/intc/nios2_iic.c
+++ b/hw/intc/nios2_iic.c
@@ -80,7 +80,7 @@ static void altera_iic_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
/* Reason: needs to be wired up, e.g. by nios2_10m50_ghrd_init() */
- dc->cannot_instantiate_with_device_add_yet = true;
+ dc->user_creatable = false;
dc->realize = altera_iic_realize;
}