提交 45d16f09 编写于 作者: E Eric Miao 提交者: Linus Torvalds

leds: fix the incorrect display in menuconfig

Seems when a config option does not have a dependency of the menuconfig,
it messes the display of the rest configs, even if it's a hidden one.
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b0320c7b
...@@ -14,15 +14,14 @@ menuconfig NEW_LEDS ...@@ -14,15 +14,14 @@ menuconfig NEW_LEDS
This is not related to standard keyboard LEDs which are controlled This is not related to standard keyboard LEDs which are controlled
via the input system. via the input system.
if NEW_LEDS
config LEDS_CLASS config LEDS_CLASS
bool "LED Class Support" bool "LED Class Support"
depends on NEW_LEDS
help help
This option enables the led sysfs class in /sys/class/leds. You'll This option enables the led sysfs class in /sys/class/leds. You'll
need this to do anything useful with LEDs. If unsure, say N. need this to do anything useful with LEDs. If unsure, say N.
if NEW_LEDS
comment "LED drivers" comment "LED drivers"
config LEDS_88PM860X config LEDS_88PM860X
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册