aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-cortina.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c-cortina.c')
-rw-r--r--drivers/i2c/i2c-cortina.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-cortina.c b/drivers/i2c/i2c-cortina.c
index 036fc4282b5..420dfdbab94 100644
--- a/drivers/i2c/i2c-cortina.c
+++ b/drivers/i2c/i2c-cortina.c
@@ -341,7 +341,7 @@ U_BOOT_DRIVER(i2c_cortina) = {
.of_match = ca_i2c_ids,
.ofdata_to_platdata = ca_i2c_ofdata_to_platdata,
.probe = ca_i2c_probe,
- .priv_auto_alloc_size = sizeof(struct ca_i2c),
+ .priv_auto = sizeof(struct ca_i2c),
.ops = &ca_i2c_ops,
.flags = DM_FLAG_PRE_RELOC,
};