summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/pwm_regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/pwm_regulator.c')
-rw-r--r--drivers/power/regulator/pwm_regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/pwm_regulator.c b/drivers/power/regulator/pwm_regulator.c
index f870622705..ebd09e778c 100644
--- a/drivers/power/regulator/pwm_regulator.c
+++ b/drivers/power/regulator/pwm_regulator.c
@@ -155,5 +155,5 @@ U_BOOT_DRIVER(pwm_regulator) = {
.probe = pwm_regulator_probe,
.of_match = pwm_regulator_ids,
.ofdata_to_platdata = pwm_regulator_ofdata_to_platdata,
- .priv_auto_alloc_size = sizeof(struct pwm_regulator_info),
+ .priv_auto = sizeof(struct pwm_regulator_info),
};