summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-28 13:48:45 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-28 18:09:32 +0100
commita398eaa23e42b73216efbe03dc1d754b2e5d603c (patch)
treeddb0e0182cc7a05d7733f02c41f8b410cdd7574e /drivers/regulator
parentregulator: mc13892: add device tree probe support (diff)
downloadlinux-a398eaa23e42b73216efbe03dc1d754b2e5d603c.tar.xz
linux-a398eaa23e42b73216efbe03dc1d754b2e5d603c.zip
regulator: Export regulator_is_supported_voltage()
It's part of the driver interface so should be available to modules. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index dbdebed660bf..6f7d411b048b 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1787,6 +1787,7 @@ int regulator_is_supported_voltage(struct regulator *regulator,
return 0;
}
+EXPORT_SYMBOL_GPL(regulator_is_supported_voltage);
static int _regulator_do_set_voltage(struct regulator_dev *rdev,
int min_uV, int max_uV)