summaryrefslogtreecommitdiff
path: root/drivers/timer/mtk_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/mtk_timer.c')
-rw-r--r--drivers/timer/mtk_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/mtk_timer.c b/drivers/timer/mtk_timer.c
index 74e9ea34ff..448a76a7e1 100644
--- a/drivers/timer/mtk_timer.c
+++ b/drivers/timer/mtk_timer.c
@@ -78,7 +78,7 @@ U_BOOT_DRIVER(mtk_timer) = {
.name = "mtk_timer",
.id = UCLASS_TIMER,
.of_match = mtk_timer_ids,
- .priv_auto_alloc_size = sizeof(struct mtk_timer_priv),
+ .priv_auto = sizeof(struct mtk_timer_priv),
.probe = mtk_timer_probe,
.ops = &mtk_timer_ops,
.flags = DM_FLAG_PRE_RELOC,