From: Geert Uytterhoeven Date: Tue, 9 Jun 2026 15:08:34 +0000 (+0200) Subject: pinctrl: tegra: PINCTRL_TEGRA238 should depend on ARCH_TEGRA X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f899621d34e2fd79229622805a659b13b63c98f;p=thirdparty%2Fkernel%2Flinux.git 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: 25cac7292d49f4fc ("pinctrl: tegra: Add Tegra238 pinmux driver") Signed-off-by: Geert Uytterhoeven Reviewed-by: Krzysztof Kozlowski Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/tegra/Kconfig b/drivers/pinctrl/tegra/Kconfig index c7507193044f4..eea7ec9688b64 100644 --- a/drivers/pinctrl/tegra/Kconfig +++ b/drivers/pinctrl/tegra/Kconfig @@ -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