aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorEric Miao <eric.miao@canonical.com>2011-06-15 18:08:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-15 23:04:01 -0400
commit45d16f09ddd66597e561876f5652c05bf986360a (patch)
treede154056ae071e11c4e4a4cddb1142461039bae9 /drivers/leds/Kconfig
parentb0320c7b7d1ac1bd5c2d9dff3258524ab39bad32 (diff)
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: Eric 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 1032730cd17b..713d43b4e563 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -14,15 +14,14 @@ menuconfig NEW_LEDS
14 This is not related to standard keyboard LEDs which are controlled 14 This is not related to standard keyboard LEDs which are controlled
15 via the input system. 15 via the input system.
16 16
17if NEW_LEDS
18
17config LEDS_CLASS 19config LEDS_CLASS
18 bool "LED Class Support" 20 bool "LED Class Support"
19 depends on NEW_LEDS
20 help 21 help
21 This option enables the led sysfs class in /sys/class/leds. You'll 22 This option enables the led sysfs class in /sys/class/leds. You'll
22 need this to do anything useful with LEDs. If unsure, say N. 23 need this to do anything useful with LEDs. If unsure, say N.
23 24
24if NEW_LEDS
25
26comment "LED drivers" 25comment "LED drivers"
27 26
28config LEDS_88PM860X 27config LEDS_88PM860X