Skip to content

Commit

Permalink
regulator: core: Add missing stub for regulator_get_exclusive()
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Mark Brown committed Jul 31, 2013
1 parent 5ae90d8 commit 4bdfb27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/linux/regulator/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4bdfb27

Please sign in to comment.