summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-29 21:00:53 +0100
committerMark Brown <broonie@linaro.org>2013-07-31 09:56:38 +0100
commit4bdfb2729c3a396fe7400c9332c49aee2b971bd8 (patch)
treeab0a1951db5130ada341705a96f90f02ac6a5565 /include
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
downloadop-kernel-dev-4bdfb2729c3a396fe7400c9332c49aee2b971bd8.zip
op-kernel-dev-4bdfb2729c3a396fe7400c9332c49aee2b971bd8.tar.gz
regulator: core: Add missing stub for regulator_get_exclusive()
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-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 3a76389..60da4a6 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,
}
static inline struct regulator *__must_check
+regulator_get_exclusive(struct device *dev, const char *id)
+{
+ return NULL;
+}
+
+
+static inline struct regulator *__must_check
devm_regulator_get(struct device *dev, const char *id)
{
return NULL;
OpenPOWER on IntegriCloud