summaryrefslogtreecommitdiff
path: root/drivers/i2c/intel_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/intel_i2c.c')
-rw-r--r--drivers/i2c/intel_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/intel_i2c.c b/drivers/i2c/intel_i2c.c
index 3b79cb40cd..c92074a619 100644
--- a/drivers/i2c/intel_i2c.c
+++ b/drivers/i2c/intel_i2c.c
@@ -306,7 +306,7 @@ U_BOOT_DRIVER(intel_i2c) = {
.id = UCLASS_I2C,
.of_match = intel_i2c_ids,
.ops = &intel_i2c_ops,
- .priv_auto_alloc_size = sizeof(struct intel_i2c),
+ .priv_auto = sizeof(struct intel_i2c),
.bind = intel_i2c_bind,
.probe = intel_i2c_probe,
};