regulator: add missing prototype for regulator_is_supported_voltage

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>
This commit is contained in:
Philip Rakity 2012-11-20 18:07:41 +01:00 коммит произвёл Mark Brown
Родитель f4a75d2eb7
Коммит 1a8f85d402
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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,