projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269cb04
)
regulator: REGULATOR_QCOM_REFGEN should depend on ARCH_QCOM
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Tue, 25 Jul 2023 15:47:43 +0000
(17:47 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Jul 2023 20:23:57 +0000
(21:23 +0100)
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:
7cbfbe23796086fd
("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>
drivers/regulator/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/regulator/Kconfig
b/drivers/regulator/Kconfig
index
542a7b4
..
94f4473
100644
(file)
--- a/
drivers/regulator/Kconfig
+++ b/
drivers/regulator/Kconfig
@@
-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