summaryrefslogtreecommitdiff
path: root/drivers/i2c/nx_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/nx_i2c.c')
-rw-r--r--drivers/i2c/nx_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/nx_i2c.c b/drivers/i2c/nx_i2c.c
index ca14a0ecac..a672c011d2 100644
--- a/drivers/i2c/nx_i2c.c
+++ b/drivers/i2c/nx_i2c.c
@@ -621,6 +621,6 @@ U_BOOT_DRIVER(i2c_nexell) = {
.id = UCLASS_I2C,
.of_match = nx_i2c_ids,
.probe = nx_i2c_probe,
- .priv_auto_alloc_size = sizeof(struct nx_i2c_bus),
+ .priv_auto = sizeof(struct nx_i2c_bus),
.ops = &nx_i2c_ops,
};