diff options
Diffstat (limited to 'drivers/timer/stm32_timer.c')
-rw-r--r-- | drivers/timer/stm32_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c index f517d5e..1b47e90 100644 --- a/drivers/timer/stm32_timer.c +++ b/drivers/timer/stm32_timer.c @@ -129,7 +129,7 @@ U_BOOT_DRIVER(stm32_timer) = { .name = "stm32_timer", .id = UCLASS_TIMER, .of_match = stm32_timer_ids, - .priv_auto_alloc_size = sizeof(struct stm32_timer_priv), + .priv_auto = sizeof(struct stm32_timer_priv), .probe = stm32_timer_probe, .ops = &stm32_timer_ops, }; |