projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0320c7
)
leds: fix the incorrect display in menuconfig
author
Eric Miao
<
[email protected]
>
Wed, 15 Jun 2011 22:08:40 +0000
(15:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Jun 2011 03:04:01 +0000
(20:04 -0700)
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 <
[email protected]
>
Cc: Richard Purdie <
[email protected]
>
Cc: Valdis Kletnieks <
[email protected]
>
Cc: Randy Dunlap <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/leds/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/leds/Kconfig
b/drivers/leds/Kconfig
index 1032730cd17bd04e715301639758de9844cc13ba..713d43b4e563396f419e9583af58b6a4ed636290 100644
(file)
--- a/
drivers/leds/Kconfig
+++ b/
drivers/leds/Kconfig
@@
-14,15
+14,14
@@
menuconfig NEW_LEDS
This is not related to standard keyboard LEDs which are controlled
via the input system.
+if NEW_LEDS
+
config LEDS_CLASS
bool "LED Class Support"
- depends on NEW_LEDS
help
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.
-if NEW_LEDS
-
comment "LED drivers"
config LEDS_88PM860X