Skip to contentSkip to conversation

regulator: core: Add missing stub for regulator_get_exclusive()

PATCH New Mark Brown 1 participant 1 message Jul 29, 2013 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 regulator: core: Add missing stub for regulator_get_exclusive()

From: Mark Brown <[email protected]>

---
 include/linux/regulator/consumer.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/linux/regulator/consumer.h +6 -0
index 3610df8..3b9b4da 100644
@@ -217,6 +217,12 @@ devm_regulator_get(struct device *dev, const char *id)
 	return NULL;
 }
 
+static inline struct regulator *__must_check
+devm_regulator_get_exclusive(struct device *dev, const char *id)
+{
+	return NULL;
+}
+
 static inline void regulator_put(struct regulator *regulator)
 {
 }
Signature · 1 line
1.8.3.2