summaryrefslogtreecommitdiffstats
path: root/drivers/timer/sti-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/sti-timer.c')
-rw-r--r--drivers/timer/sti-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/sti-timer.c b/drivers/timer/sti-timer.c
index 9d95f562fa..87444a0650 100644
--- a/drivers/timer/sti-timer.c
+++ b/drivers/timer/sti-timer.c
@@ -79,7 +79,7 @@ U_BOOT_DRIVER(sti_timer) = {
.name = "sti_timer",
.id = UCLASS_TIMER,
.of_match = sti_timer_ids,
- .priv_auto_alloc_size = sizeof(struct sti_timer_priv),
+ .priv_auto = sizeof(struct sti_timer_priv),
.probe = sti_timer_probe,
.ops = &sti_timer_ops,
};