summaryrefslogtreecommitdiff
path: root/drivers/timer/cadence-ttc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/cadence-ttc.c')
-rw-r--r--drivers/timer/cadence-ttc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/cadence-ttc.c b/drivers/timer/cadence-ttc.c
index bebb2c2e90..7107bf2472 100644
--- a/drivers/timer/cadence-ttc.c
+++ b/drivers/timer/cadence-ttc.c
@@ -110,7 +110,7 @@ U_BOOT_DRIVER(cadence_ttc) = {
.id = UCLASS_TIMER,
.of_match = cadence_ttc_ids,
.ofdata_to_platdata = cadence_ttc_ofdata_to_platdata,
- .priv_auto_alloc_size = sizeof(struct cadence_ttc_priv),
+ .priv_auto = sizeof(struct cadence_ttc_priv),
.probe = cadence_ttc_probe,
.ops = &cadence_ttc_ops,
};