aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-29 16:00:53 -0400
committerMark Brown <broonie@linaro.org>2013-07-31 04:56:38 -0400
commit4bdfb2729c3a396fe7400c9332c49aee2b971bd8 (patch)
treeab0a1951db5130ada341705a96f90f02ac6a5565
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
regulator: core: Add missing stub for regulator_get_exclusive()
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--include/linux/regulator/consumer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 3a76389c6aaa..60da4a62c402 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -212,6 +212,13 @@ static inline struct regulator *__must_check regulator_get(struct device *dev,
212} 212}
213 213
214static inline struct regulator *__must_check 214static inline struct regulator *__must_check
215regulator_get_exclusive(struct device *dev, const char *id)
216{
217 return NULL;
218}
219
220
221static inline struct regulator *__must_check
215devm_regulator_get(struct device *dev, const char *id) 222devm_regulator_get(struct device *dev, const char *id)
216{ 223{
217 return NULL; 224 return NULL;