summaryrefslogtreecommitdiff
path: root/drivers/watchdog/ast_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/ast_wdt.c')
-rw-r--r--drivers/watchdog/ast_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/ast_wdt.c b/drivers/watchdog/ast_wdt.c
index 9b83d2ad44..f6173fd568 100644
--- a/drivers/watchdog/ast_wdt.c
+++ b/drivers/watchdog/ast_wdt.c
@@ -124,7 +124,7 @@ U_BOOT_DRIVER(ast_wdt) = {
.id = UCLASS_WDT,
.of_match = ast_wdt_ids,
.probe = ast_wdt_probe,
- .priv_auto_alloc_size = sizeof(struct ast_wdt_priv),
+ .priv_auto = sizeof(struct ast_wdt_priv),
.ofdata_to_platdata = ast_wdt_ofdata_to_platdata,
.ops = &ast_wdt_ops,
};