]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
gpio: fix GPIO submenu in Kconfig
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 1 Sep 2025 12:55:13 +0000 (14:55 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 2 Sep 2025 09:29:43 +0000 (11:29 +0200)
Commit a86240a37d43 ("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: a86240a37d43 ("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>
drivers/gpio/Kconfig

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