Skip to content

Commit

Permalink
regulator: add missing prototype for regulator_is_supported_voltage
Browse files Browse the repository at this point in the history
avoids needs for CONFIG_REGULATOR in sdhci.c

Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Philip Rakity authored and Mark Brown committed Nov 21, 2012
1 parent f4a75d2 commit 1a8f85d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/regulator/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ static inline void regulator_set_drvdata(struct regulator *regulator,
{
}

static inline int regulator_count_voltages(struct regulator *regulator)
{
return 0;
}
#endif

static inline int regulator_set_voltage_tol(struct regulator *regulator,
Expand Down

0 comments on commit 1a8f85d

Please sign in to comment.