diff options
Diffstat (limited to 'drivers/watchdog/ast_wdt.c')
-rw-r--r-- | drivers/watchdog/ast_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/ast_wdt.c b/drivers/watchdog/ast_wdt.c index f6173fd568..0b8668d70d 100644 --- a/drivers/watchdog/ast_wdt.c +++ b/drivers/watchdog/ast_wdt.c @@ -86,7 +86,7 @@ static int ast_wdt_expire_now(struct udevice *dev, ulong flags) return ast_wdt_stop(dev); } -static int ast_wdt_ofdata_to_platdata(struct udevice *dev) +static int ast_wdt_of_to_plat(struct udevice *dev) { struct ast_wdt_priv *priv = dev_get_priv(dev); @@ -125,6 +125,6 @@ U_BOOT_DRIVER(ast_wdt) = { .of_match = ast_wdt_ids, .probe = ast_wdt_probe, .priv_auto = sizeof(struct ast_wdt_priv), - .ofdata_to_platdata = ast_wdt_ofdata_to_platdata, + .of_to_plat = ast_wdt_of_to_plat, .ops = &ast_wdt_ops, }; |