summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 04:43:20 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-10 04:43:20 +0100
commit4247bfe20ab1cb8cf1874b811c0dc60bcd0249e8 (patch)
tree4d0a598e4aa4a9efa5c4f27ca56d357575cc6660 /include
parentMerge remote-tracking branch 'regulator/topic/s2mps11' into regulator-next (diff)
parentregulator: add missing prototype for regulator_is_supported_voltage (diff)
downloadlinux-4247bfe20ab1cb8cf1874b811c0dc60bcd0249e8.tar.xz
linux-4247bfe20ab1cb8cf1874b811c0dc60bcd0249e8.zip
Merge remote-tracking branch 'regulator/topic/stub' into regulator-next
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/consumer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 5d0f7c10bef1..8bb7eba4ec45 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -359,6 +359,10 @@ static inline void regulator_set_drvdata(struct regulator *regulator,
{
}
+static inline int regulator_count_voltages(struct regulator *regulator)
+{
+ return 0;
+}
#endif
static inline int regulator_set_voltage_tol(struct regulator *regulator,