mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
pinctrl: tegra: PINCTRL_TEGRA264 should depend on ARCH_TEGRA
The NVIDIA Tegra264 MAIN, AON, and UPHY pin controllers are only present
on NVIDIA Tegra264 SoCs. Hence add a dependency on ARCH_TEGRA, to
prevent asking the user about this driver when configuring a kernel
without NVIDIA Tegra SoC support.
Fixes: c985062069 ("pinctrl: tegra: Add Tegra264 pinmux driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
committed by
Linus Walleij
parent
5f899621d3
commit
32b515861e
@@ -50,6 +50,7 @@ config PINCTRL_TEGRA238
|
||||
|
||||
config PINCTRL_TEGRA264
|
||||
tristate "NVIDIA Tegra264 pinctrl driver"
|
||||
depends on ARCH_TEGRA || COMPILE_TEST
|
||||
default m if ARCH_TEGRA_264_SOC
|
||||
select PINCTRL_TEGRA
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user