summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvin Šipraga <alvin.sipraga@analog.com>2026-07-27 14:20:08 +0200
committerLinus Walleij <linusw@kernel.org>2026-08-07 22:31:41 +0200
commit465f276bb928093685c2a2b98bf0a7ccc4283b8d (patch)
tree2982a4fa5fcc322d6f4b26a76706e2e797b46a76
parent87b42c8b216923b813bd7d43624c340d74be4099 (diff)
downloadlinux-stable-465f276bb928093685c2a2b98bf0a7ccc4283b8d.tar.gz
linux-stable-465f276bb928093685c2a2b98bf0a7ccc4283b8d.zip
pinctrl: fix PINCTRL_GENERIC_MUX not always being selectable
CONFIG_MULTIPLEXER can only be enabled indirectly. If it's not already enabled, then CONFIG_PINCTRL_GENERIC_MUX cannot be selected at all in menuconfig. That's because it depends on MULTIPLEXER. Follow similar consumers of the multiplexer core and select MULTIPLEXER instead. This way the driver will be visible in menuconfig as long as PINCTRL is selected. Fixes: 34acc5a8adfb ("pinctrl: add generic board-level pinctrl driver using mux framework") Signed-off-by: Alvin Šipraga <alvin.sipraga@analog.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
-rw-r--r--drivers/pinctrl/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index fdcd0ea34d6f..582701445308 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -274,8 +274,8 @@ config PINCTRL_GEMINI
config PINCTRL_GENERIC_MUX
tristate "Generic Pinctrl driver by using multiplexer"
- depends on MULTIPLEXER
depends on OF
+ select MULTIPLEXER
select PINMUX
select GENERIC_PINCTRL
help