summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/fixed.c')
-rw-r--r--drivers/power/regulator/fixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c
index 2fa6c7e6b2..d887c87ed8 100644
--- a/drivers/power/regulator/fixed.c
+++ b/drivers/power/regulator/fixed.c
@@ -89,5 +89,5 @@ U_BOOT_DRIVER(regulator_fixed) = {
.ops = &fixed_regulator_ops,
.of_match = fixed_regulator_ids,
.ofdata_to_platdata = fixed_regulator_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct regulator_common_platdata),
+ .platdata_auto = sizeof(struct regulator_common_platdata),
};