summaryrefslogtreecommitdiff
path: root/drivers/watchdog/stm32mp_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/stm32mp_wdt.c')
-rw-r--r--drivers/watchdog/stm32mp_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/stm32mp_wdt.c b/drivers/watchdog/stm32mp_wdt.c
index f673fce327..53586fdbfc 100644
--- a/drivers/watchdog/stm32mp_wdt.c
+++ b/drivers/watchdog/stm32mp_wdt.c
@@ -131,7 +131,7 @@ U_BOOT_DRIVER(stm32mp_wdt) = {
.name = "stm32mp-wdt",
.id = UCLASS_WDT,
.of_match = stm32mp_wdt_match,
- .priv_auto_alloc_size = sizeof(struct stm32mp_wdt_priv),
+ .priv_auto = sizeof(struct stm32mp_wdt_priv),
.probe = stm32mp_wdt_probe,
.ops = &stm32mp_wdt_ops,
};