summaryrefslogtreecommitdiff
path: root/hw/i2c/omap_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/omap_i2c.c')
-rw-r--r--hw/i2c/omap_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/omap_i2c.c b/hw/i2c/omap_i2c.c
index f7c92ea00c..f6e80bee25 100644
--- a/hw/i2c/omap_i2c.c
+++ b/hw/i2c/omap_i2c.c
@@ -491,7 +491,7 @@ static void omap_i2c_class_init(ObjectClass *klass, void *data)
dc->props = omap_i2c_properties;
dc->reset = omap_i2c_reset;
/* Reason: pointer properties "iclk", "fclk" */
- dc->cannot_instantiate_with_device_add_yet = true;
+ dc->user_creatable = false;
dc->realize = omap_i2c_realize;
}