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:
parent
f4a75d2eb7
commit
1a8f85d402
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue