gpio: fix GPIO submenu in Kconfig
PATCH 1/1 gpio: fix GPIO submenu in Kconfig
From: Bartosz Golaszewski <[email protected]>
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.
--- drivers/gpio/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpio/Kconfig +3 -3
@@ -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
Signature · 1 line
2.48.1
Quoted 11 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Commit
a86240a37d43("gpiolib: enableCONFIG_GPIOLIB_LEGACYeven 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 a86240a37d43 ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for !GPIOLIB")Reported-by Rob Herring <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
I'm sorry I misunderstood the earlier bug report and assumed this was already addressed. I now see what my mistake was and the fix looks correct to me.
Arnd
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 5 lines · Bartosz Golaszewski
Commit
a86240a37d43("gpiolib: enableCONFIG_GPIOLIB_LEGACYeven 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.
Applied, thanks!
[1/1] gpio: fix GPIO submenu in Kconfig
https://git.kernel.org/brgl/linux/c/ef9f21c3f370bcd45688a3a573b788e39b364e80
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>