aboutsummaryrefslogtreecommitdiff
path: root/drivers/tpm/cr50_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/cr50_i2c.c')
-rw-r--r--drivers/tpm/cr50_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c
index a761e3d52f1..1dfc5c54f39 100644
--- a/drivers/tpm/cr50_i2c.c
+++ b/drivers/tpm/cr50_i2c.c
@@ -728,7 +728,7 @@ U_BOOT_DRIVER(cr50_i2c) = {
.ofdata_to_platdata = cr50_i2c_ofdata_to_platdata,
.probe = cr50_i2c_probe,
.remove = cr50_i2c_cleanup,
- .priv_auto_alloc_size = sizeof(struct cr50_priv),
+ .priv_auto = sizeof(struct cr50_priv),
ACPI_OPS_PTR(&cr50_acpi_ops)
.flags = DM_FLAG_OS_PREPARE,
};