diff options
author | Philip Rakity <prakity@nvidia.com> | 2012-11-20 12:07:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-21 05:03:12 -0500 |
commit | 1a8f85d402a2bf3b86c08c696a0adf36656f770a (patch) | |
tree | 73d712feea23c032779557f9568a312a3383cb4e | |
parent | f4a75d2eb7b1e2206094b901be09adb31ba63681 (diff) |
regulator: add missing prototype for regulator_is_supported_voltage
avoids needs for CONFIG_REGULATOR in sdhci.c
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | include/linux/regulator/consumer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index c43cd3556b1f..4e3ec91bc639 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
@@ -358,6 +358,10 @@ static inline void regulator_set_drvdata(struct regulator *regulator, | |||
358 | { | 358 | { |
359 | } | 359 | } |
360 | 360 | ||
361 | static inline int regulator_count_voltages(struct regulator *regulator) | ||
362 | { | ||
363 | return 0; | ||
364 | } | ||
361 | #endif | 365 | #endif |
362 | 366 | ||
363 | static inline int regulator_set_voltage_tol(struct regulator *regulator, | 367 | static inline int regulator_set_voltage_tol(struct regulator *regulator, |