aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-04-11 01:54:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 09:18:40 -0400
commit24f51e81745861c70da2255ce30c7078aed2d20e (patch)
tree199b11453cc4e8a974ef3f1330da7fb5f4bc724b /drivers/leds
parentbaa351eaf3a309f5ff50a77c63d234d93bce3f62 (diff)
[PATCH] leds: reorganise Kconfig
Reorganise the drivers/leds Kconfig file to have the LED trigger enable with the triggers themselves. Also add comments to divide up the sections into the drivers and triggers Signed-off-by: Ben Dooks <ben-linux@fluff.org> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/Kconfig18
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 295856bf6d17..3f5b64794542 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -14,13 +14,7 @@ config LEDS_CLASS
14 This option enables the led sysfs class in /sys/class/leds. You'll 14 This option enables the led sysfs class in /sys/class/leds. You'll
15 need this to do anything useful with LEDs. If unsure, say N. 15 need this to do anything useful with LEDs. If unsure, say N.
16 16
17config LEDS_TRIGGERS 17comment "LED drivers"
18 bool "LED Trigger support"
19 depends NEW_LEDS
20 help
21 This option enables trigger support for the leds class.
22 These triggers allow kernel events to drive the LEDs and can
23 be configured via sysfs. If unsure, say Y.
24 18
25config LEDS_CORGI 19config LEDS_CORGI
26 tristate "LED Support for the Sharp SL-C7x0 series" 20 tristate "LED Support for the Sharp SL-C7x0 series"
@@ -66,6 +60,16 @@ config LEDS_S3C24XX
66 This option enables support for LEDs connected to GPIO lines 60 This option enables support for LEDs connected to GPIO lines
67 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. 61 on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
68 62
63comment "LED Triggers"
64
65config LEDS_TRIGGERS
66 bool "LED Trigger support"
67 depends NEW_LEDS
68 help
69 This option enables trigger support for the leds class.
70 These triggers allow kernel events to drive the LEDs and can
71 be configured via sysfs. If unsure, say Y.
72
69config LEDS_TRIGGER_TIMER 73config LEDS_TRIGGER_TIMER
70 tristate "LED Timer Trigger" 74 tristate "LED Timer Trigger"
71 depends LEDS_TRIGGERS 75 depends LEDS_TRIGGERS