diff options
Diffstat (limited to 'drivers/pwm/exynos_pwm.c')
-rw-r--r-- | drivers/pwm/exynos_pwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pwm/exynos_pwm.c b/drivers/pwm/exynos_pwm.c index 70fbdf89bd0..1afaf784dab 100644 --- a/drivers/pwm/exynos_pwm.c +++ b/drivers/pwm/exynos_pwm.c @@ -88,7 +88,7 @@ static int exynos_pwm_probe(struct udevice *dev) return 0; } -static int exynos_pwm_ofdata_to_platdata(struct udevice *dev) +static int exynos_pwm_of_to_plat(struct udevice *dev) { struct exynos_pwm_priv *priv = dev_get_priv(dev); @@ -113,6 +113,6 @@ U_BOOT_DRIVER(exynos_pwm) = { .of_match = exynos_channels, .ops = &exynos_pwm_ops, .probe = exynos_pwm_probe, - .ofdata_to_platdata = exynos_pwm_ofdata_to_platdata, + .of_to_plat = exynos_pwm_of_to_plat, .priv_auto = sizeof(struct exynos_pwm_priv), }; |