pinctrl: fix kismet issues with GENERIC_PINCTRL

lkp reported that GENERIC_PINCTRL can be select when its dependencies
are not. Swap the "depends on" out for "select", as is used in other
parts of the pinctrl core that are expected to be selected by drivers.

Fixes: 43722575e5 ("pinctrl: add generic functions + pins mapper")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601271725.gqlQ8Jl7-lkp@intel.com/
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Conor Dooley 2026-01-30 23:55:30 +00:00 committed by Linus Walleij
parent 1296611607
commit ea9975c221

View file

@ -27,9 +27,9 @@ config GENERIC_PINCONF
config GENERIC_PINCTRL
bool
depends on GENERIC_PINCONF
depends on GENERIC_PINCTRL_GROUPS
depends on GENERIC_PINMUX_FUNCTIONS
select GENERIC_PINCONF
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
config DEBUG_PINCTRL
bool "Debug PINCTRL calls"