mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
pinctrl: tegra: PINCTRL_TEGRA238 should depend on ARCH_TEGRA
The NVIDIA Tegra238 MAIN and AON pin controllers are only present on
NVIDIA Tegra238 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: 25cac7292d ("pinctrl: tegra: Add Tegra238 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:
parent
221bb09654
commit
5f899621d3
|
|
@ -39,6 +39,7 @@ config PINCTRL_TEGRA234
|
|||
|
||||
config PINCTRL_TEGRA238
|
||||
tristate "NVIDIA Tegra238 pinctrl driver"
|
||||
depends on ARCH_TEGRA || COMPILE_TEST
|
||||
default m if ARCH_TEGRA_238_SOC
|
||||
select PINCTRL_TEGRA
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user