diff options
-rw-r--r-- | include/linux/regulator/consumer.h | 6 |
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 | ||
297 | static inline int regulator_is_supported_voltage(struct regulator *regulator, | ||
298 | int min_uV, int max_uV) | ||
299 | { | ||
300 | return 0; | ||
301 | } | ||
302 | |||
297 | static inline int regulator_set_current_limit(struct regulator *regulator, | 303 | static 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 | { |