Skip to content

Commit 32b5158

Browse files
geertulinusw
authored andcommitted
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: c985062 ("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>
1 parent 5f89962 commit 32b5158

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pinctrl/tegra/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ config PINCTRL_TEGRA238
5050

5151
config PINCTRL_TEGRA264
5252
tristate "NVIDIA Tegra264 pinctrl driver"
53+
depends on ARCH_TEGRA || COMPILE_TEST
5354
default m if ARCH_TEGRA_264_SOC
5455
select PINCTRL_TEGRA
5556
help

0 commit comments

Comments
 (0)