Browse Source

regulator: core: Add missing stub for regulator_get_exclusive()

Signed-off-by: Mark Brown <broonie@linaro.org>
Mark Brown 12 years ago
parent
commit
4bdfb2729c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      include/linux/regulator/consumer.h

+ 7 - 0
include/linux/regulator/consumer.h

@@ -211,6 +211,13 @@ static inline struct regulator *__must_check regulator_get(struct device *dev,
 	return NULL;
 }
 
+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)
 {