summaryrefslogtreecommitdiff
path: root/drivers/timer/altera_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/altera_timer.c')
-rw-r--r--drivers/timer/altera_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/altera_timer.c b/drivers/timer/altera_timer.c
index ccc164ee17..ad50380f04 100644
--- a/drivers/timer/altera_timer.c
+++ b/drivers/timer/altera_timer.c
@@ -88,7 +88,7 @@ U_BOOT_DRIVER(altera_timer) = {
.id = UCLASS_TIMER,
.of_match = altera_timer_ids,
.ofdata_to_platdata = altera_timer_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct altera_timer_platdata),
+ .platdata_auto = sizeof(struct altera_timer_platdata),
.probe = altera_timer_probe,
.ops = &altera_timer_ops,
};