gpio: fix GPIO submenu in Kconfig

Commit a86240a37d ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for
!GPIOLIB") accidentally pulled all items from within the GPIOLIB submenu
into the main driver menu. Put them back under the top-level GPIO entry.

Suggested-by: Rob Herring <robh@kernel.org>
Fixes: a86240a37d ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for !GPIOLIB")
Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/all/20250813222649.GA965895-robh@kernel.org/
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250901125513.108691-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
Bartosz Golaszewski 2025-09-01 14:55:13 +02:00
parent b320789d68
commit ef9f21c3f3

View File

@ -3,6 +3,9 @@
# GPIO infrastructure and drivers # GPIO infrastructure and drivers
# #
config GPIOLIB_LEGACY
def_bool y
menuconfig GPIOLIB menuconfig GPIOLIB
bool "GPIO Support" bool "GPIO Support"
help help
@ -12,9 +15,6 @@ menuconfig GPIOLIB
If unsure, say N. If unsure, say N.
config GPIOLIB_LEGACY
def_bool y
if GPIOLIB if GPIOLIB
config GPIOLIB_FASTPATH_LIMIT config GPIOLIB_FASTPATH_LIMIT