aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/cros_ec_tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/cros_ec_tunnel.c')
-rw-r--r--drivers/i2c/cros_ec_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/cros_ec_tunnel.c b/drivers/i2c/cros_ec_tunnel.c
index a630817..1cc5c06 100644
--- a/drivers/i2c/cros_ec_tunnel.c
+++ b/drivers/i2c/cros_ec_tunnel.c
@@ -56,6 +56,6 @@ U_BOOT_DRIVER(cros_ec_tunnel) = {
.id = UCLASS_I2C,
.of_match = cros_ec_i2c_ids,
.ofdata_to_platdata = cros_ec_i2c_ofdata_to_platdata,
- .priv_auto_alloc_size = sizeof(struct cros_ec_i2c_bus),
+ .priv_auto = sizeof(struct cros_ec_i2c_bus),
.ops = &cros_ec_i2c_ops,
};