summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/regulator_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/regulator_common.h')
-rw-r--r--drivers/power/regulator/regulator_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/power/regulator/regulator_common.h b/drivers/power/regulator/regulator_common.h
index bf80439c78..5ae0b9aa40 100644
--- a/drivers/power/regulator/regulator_common.h
+++ b/drivers/power/regulator/regulator_common.h
@@ -15,8 +15,9 @@ struct regulator_common_platdata {
unsigned int off_on_delay_us;
};
-int regulator_common_ofdata_to_platdata(struct udevice *dev,
- struct regulator_common_platdata *dev_pdata, const char *enable_gpio_name);
+int regulator_common_of_to_plat(struct udevice *dev,
+ struct regulator_common_platdata *dev_pdata,
+ const char *enable_gpio_name);
int regulator_common_get_enable(const struct udevice *dev,
struct regulator_common_platdata *dev_pdata);
int regulator_common_set_enable(const struct udevice *dev,