提交 1a8f85d4 编写于 作者: P Philip Rakity 提交者: Mark Brown

regulator: add missing prototype for regulator_is_supported_voltage

avoids needs for CONFIG_REGULATOR in sdhci.c
Signed-off-by: NPhilip Rakity <prakity@nvidia.com>
Reviewed-by: NEric Miao <eric.y.miao@gmail.com>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 f4a75d2e
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册