summaryrefslogtreecommitdiff
path: root/drivers/regulator/ltc3589.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-04 22:38:29 +0300
committerMark Brown <broonie@kernel.org>2019-03-21 17:59:38 +0300
commit7287275b4301e230be9e4569431c7dacb67ebc13 (patch)
tree73eeb5ce828d934817daed0a489ae5a0f5a66097 /drivers/regulator/ltc3589.c
parent689b9e025f0cbf2f537566f8334ab6fd937336ae (diff)
downloadlinux-7287275b4301e230be9e4569431c7dacb67ebc13.tar.xz
regulator: add regulator_get_linear_step() stub helper
The regulator header has empty inline functions for most interfaces, but not regulator_get_linear_step(), which has just grown a user that does not depend on regulators otherwise: drivers/clk/tegra/clk-tegra124-dfll-fcpu.c: In function 'get_alignment_from_regulator': drivers/clk/tegra/clk-tegra124-dfll-fcpu.c:555:19: error: implicit declaration of function 'regulator_get_linear_step'; did you mean 'regulator_get_drvdata'? [-Werror=implicit-function-declaration] align->step_uv = regulator_get_linear_step(reg); ^~~~~~~~~~~~~~~~~~~~~~~~~ regulator_get_drvdata cc1: all warnings being treated as errors scripts/Makefile.build:278: recipe for target 'drivers/clk/tegra/clk-tegra124-dfll-fcpu.o' failed Add the missing stub along the others. Fixes: b3cf8d069505 ("clk: tegra: dfll: CVB calculation alignment with the regulator") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ltc3589.c')
0 files changed, 0 insertions, 0 deletions