From b0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Fri, 15 Jan 2021 09:10:26 +0100 Subject: dm: fix build errors generated by last merges Something was wrong in the merge process into the mainline. Some added patches access driver structure fields and functions that have been modified by previous patches. The patch renames: - dev_get_platdata to dev_get_plat - dev_get_uclass_platdata to dev_get_uclass_plat - ofdata_to_platdata to of_to_plat - plat_data_alloc_size to plat_auto - priv_auto_alloc_size to priv_auto - video_uc_platdata to video_uc_plat Signed-off-by: Dario Binacchi --- drivers/pwm/pwm-ti-ehrpwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/pwm/pwm-ti-ehrpwm.c') diff --git a/drivers/pwm/pwm-ti-ehrpwm.c b/drivers/pwm/pwm-ti-ehrpwm.c index ac3d731d22..f09914519b 100644 --- a/drivers/pwm/pwm-ti-ehrpwm.c +++ b/drivers/pwm/pwm-ti-ehrpwm.c @@ -461,7 +461,7 @@ U_BOOT_DRIVER(ti_ehrpwm) = { .id = UCLASS_PWM, .of_match = ti_ehrpwm_ids, .ops = &ti_ehrpwm_ops, - .ofdata_to_platdata = ti_ehrpwm_of_to_plat, + .of_to_plat = ti_ehrpwm_of_to_plat, .probe = ti_ehrpwm_probe, .remove = ti_ehrpwm_remove, .priv_auto = sizeof(struct ti_ehrpwm_priv), -- cgit v1.2.3