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 <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
MyungJoo Ham 2012-01-02 18:49:32 +09:00 committed by Mark Brown
parent b2296bd43e
commit 935a521066
1 changed files with 5 additions and 0 deletions

View 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)
{