瀏覽代碼

regulator: core: Add missing stub for regulator_get_exclusive()

Signed-off-by: Mark Brown <broonie@linaro.org>
Mark Brown 12 年之前
父節點
當前提交
4bdfb2729c
共有 1 個文件被更改,包括 7 次插入0 次删除
  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)
 {