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 <[email protected]> Fixes: a86240a ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for !GPIOLIB") Reported-by: Rob Herring <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Reviewed-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent b320789 commit ef9f21c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)