summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/fan53555.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/fan53555.c')
-rw-r--r--drivers/power/regulator/fan53555.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/regulator/fan53555.c b/drivers/power/regulator/fan53555.c
index b407f555fe..70aeef710b 100644
--- a/drivers/power/regulator/fan53555.c
+++ b/drivers/power/regulator/fan53555.c
@@ -239,7 +239,7 @@ U_BOOT_DRIVER(fan53555_regulator) = {
.id = UCLASS_REGULATOR,
.ops = &fan53555_regulator_ops,
.ofdata_to_platdata = fan53555_regulator_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct fan53555_platdata),
- .priv_auto_alloc_size = sizeof(struct fan53555_priv),
+ .platdata_auto = sizeof(struct fan53555_platdata),
+ .priv_auto = sizeof(struct fan53555_priv),
.probe = fan53555_probe,
};