From: Mark Brown Date: Mon, 29 Jul 2013 20:00:53 +0000 (+0100) Subject: regulator: core: Add missing stub for regulator_get_exclusive() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4bdfb2729c3a396fe7400c9332c49aee2b971bd8;p=linux-beck.git regulator: core: Add missing stub for regulator_get_exclusive() Signed-off-by: Mark Brown --- diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index 3a76389c6aaa..60da4a62c402 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -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) {