aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/regulator/consumer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h
index 9ff29ef317c2..da339fd8c755 100644
--- a/include/linux/regulator/consumer.h
+++ b/include/linux/regulator/consumer.h
@@ -294,6 +294,12 @@ static inline int regulator_get_voltage(struct regulator *regulator)
294 return -EINVAL; 294 return -EINVAL;
295} 295}
296 296
297static inline int regulator_is_supported_voltage(struct regulator *regulator,
298 int min_uV, int max_uV)
299{
300 return 0;
301}
302
297static inline int regulator_set_current_limit(struct regulator *regulator, 303static inline int regulator_set_current_limit(struct regulator *regulator,
298 int min_uA, int max_uA) 304 int min_uA, int max_uA)
299{ 305{