diff options
Diffstat (limited to 'drivers/watchdog/cdns_wdt.c')
-rw-r--r-- | drivers/watchdog/cdns_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index d4f8240491e..06de5bdaa4a 100644 --- a/drivers/watchdog/cdns_wdt.c +++ b/drivers/watchdog/cdns_wdt.c @@ -228,7 +228,7 @@ static int cdns_wdt_probe(struct udevice *dev) return 0; } -static int cdns_wdt_ofdata_to_platdata(struct udevice *dev) +static int cdns_wdt_of_to_plat(struct udevice *dev) { struct cdns_wdt_priv *priv = dev_get_priv(dev); @@ -261,6 +261,6 @@ U_BOOT_DRIVER(cdns_wdt) = { .of_match = cdns_wdt_ids, .probe = cdns_wdt_probe, .priv_auto = sizeof(struct cdns_wdt_priv), - .ofdata_to_platdata = cdns_wdt_ofdata_to_platdata, + .of_to_plat = cdns_wdt_of_to_plat, .ops = &cdns_wdt_ops, }; |