]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pinctrl: fix kismet issues with GENERIC_PINCTRL
authorConor Dooley <conor.dooley@microchip.com>
Fri, 30 Jan 2026 23:55:30 +0000 (23:55 +0000)
committerLinus Walleij <linusw@kernel.org>
Mon, 2 Feb 2026 23:56:53 +0000 (00:56 +0100)
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: 43722575e5cd ("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>
drivers/pinctrl/Kconfig

index 6cc5e214f4f3a94a09d8dbe8a91844290dba8805..afecd9407f5354f5b92223f8cd80d2f7a08f8e7d 100644 (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"