regulator: add regulator_force_disable() definition for !CONFIG_REGULATOR
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 2 Jan 2012 09:49:32 +0000 (18:49 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Jan 2012 11:36:40 +0000 (11:36 +0000)
regulator_force_disable() was omitted in consumer.h for
!CONFIG_REGULATOR case.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regulator/consumer.h

index f7756d1..889ab5a 100644 (file)
@@ -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)
 {