summaryrefslogtreecommitdiff
path: root/drivers/timer/ast_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/ast_timer.c')
-rw-r--r--drivers/timer/ast_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/ast_timer.c b/drivers/timer/ast_timer.c
index 35369a4087..9ad446054e 100644
--- a/drivers/timer/ast_timer.c
+++ b/drivers/timer/ast_timer.c
@@ -86,7 +86,7 @@ U_BOOT_DRIVER(ast_timer) = {
.id = UCLASS_TIMER,
.of_match = ast_timer_ids,
.probe = ast_timer_probe,
- .priv_auto_alloc_size = sizeof(struct ast_timer_priv),
+ .priv_auto = sizeof(struct ast_timer_priv),
.ofdata_to_platdata = ast_timer_ofdata_to_platdata,
.ops = &ast_timer_ops,
};