]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: bd71815: add select to fix build
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 23 May 2021 00:14:27 +0000 (17:14 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 24 May 2021 08:51:34 +0000 (09:51 +0100)
commit9841bd9371635049686e20200f33b4a25d78a6de
tree90d4eedadd673032b6862b2c5384a46720b4a5b5
parent9b4b97f1f267a585881274e6463096de9031344e
regulator: bd71815: add select to fix build

Mend the Kconfig for REGULATOR_BD71815 to prevent build errors:

riscv32-linux-ld: drivers/regulator/bd71815-regulator.o: in function `.L0 ':
regulator.c:289: undefined reference to `rohm_regulator_set_dvs_levels'
riscv32-linux-ld: drivers/regulator/bd71815-regulator.c:370: undefined reference to `rohm_regulator_set_dvs_levels'

Fixes: 58e26b73d321 ("regulator: Support ROHM BD71815 regulators")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20210523001427.13500-1-rdunlap@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig