mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
regulator: REGULATOR_QCOM_REFGEN should depend on ARCH_QCOM
The Qualcomm MMIO-mapped reference voltage regulator is only present on
Qualcomm SoCs. Hence add a dependency on ARCH_QCOM, to prevent asking
the user about this driver when configuring a kernel without Qualcomm
SoC support.
Fixes: 7cbfbe2379
("regulator: Introduce Qualcomm REFGEN regulator driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/60938ed138c9331ba3d2891fbd3b3d6644d3fbdc.1690300012.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
269cb04b60
commit
6b677c1ae8
1 changed files with 1 additions and 0 deletions
|
@ -1001,6 +1001,7 @@ config REGULATOR_PWM
|
|||
|
||||
config REGULATOR_QCOM_REFGEN
|
||||
tristate "Qualcomm REFGEN regulator driver"
|
||||
depends on ARCH_QCOM || COMPILE_TEST
|
||||
depends on HAS_IOMEM
|
||||
depends on REGMAP
|
||||
help
|
||||
|
|
Loading…
Reference in a new issue