Skip to content

Commit

Permalink
regulator: add regulator_force_disable() definition for !CONFIG_REGUL…
Browse files Browse the repository at this point in the history
…ATOR

regulator_force_disable() was omitted in consumer.h for
!CONFIG_REGULATOR case.

Signed-off-by: MyungJoo Ham <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
myungjoo authored and broonie committed Jan 2, 2012
1 parent b2296bd commit 935a521
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/regulator/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 935a521

Please sign in to comment.