Skip to content

Commit ef9f21c

Browse files
author
Bartosz Golaszewski
committed
gpio: fix GPIO submenu in Kconfig
Commit a86240a ("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: a86240a ("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>
1 parent b320789 commit ef9f21c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpio/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# GPIO infrastructure and drivers
44
#
55

6+
config GPIOLIB_LEGACY
7+
def_bool y
8+
69
menuconfig GPIOLIB
710
bool "GPIO Support"
811
help
@@ -12,9 +15,6 @@ menuconfig GPIOLIB
1215

1316
If unsure, say N.
1417

15-
config GPIOLIB_LEGACY
16-
def_bool y
17-
1818
if GPIOLIB
1919

2020
config GPIOLIB_FASTPATH_LIMIT

0 commit comments

Comments
 (0)