]> git.baikalelectronics.ru Git - kernel.git/commit
leds: move LEDS_GPIO_REGISTER out of menuconfig NEW_LEDS
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 15 Jun 2011 22:08:31 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Jun 2011 03:04:00 +0000 (20:04 -0700)
commit5032f3dc5d51d28be3c1048c42767a2069f4a9bf
tree21f5e78e0ad459ec121b567bd6d51a8687d028f5
parent6c18679f4403660ffff49c471356ab202ddc3c42
leds: move LEDS_GPIO_REGISTER out of menuconfig NEW_LEDS

Commit 6be21e57a6e5 ("leds: provide helper to register "leds-gpio"
devices") broke the display of the NEW_LEDS menu as it didn't depend on
NEW_LEDS and so made "LED drivers" and "LED Triggers" appear at the same
level as "LED Support" instead of below it as it was before 6be21e57.

Moving LEDS_GPIO_REGISTER out of the menuconfig NEW_LEDS fixes this
unintended side effect.

Reported-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/Kconfig