From: MyungJoo Ham Date: Mon, 2 Jan 2012 09:49:32 +0000 (+0900) Subject: regulator: add regulator_force_disable() definition for !CONFIG_REGULATOR X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=935a521066113e16c15b842852ed681bbbdfbc63;p=linux-beck.git regulator: add regulator_force_disable() definition for !CONFIG_REGULATOR regulator_force_disable() was omitted in consumer.h for !CONFIG_REGULATOR case. Signed-off-by: MyungJoo Ham Signed-off-by: Kyungmin Park Signed-off-by: Mark Brown --- diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index f7756d146c61..889ab5aaa85b 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h @@ -212,6 +212,11 @@ static inline int regulator_disable(struct regulator *regulator) return 0; } +static inline int regulator_force_disable(struct regulator *regulator) +{ + return 0; +} + static inline int regulator_disable_deferred(struct regulator *regulator, int ms) {