Commit 24f51e81 authored by Ben Dooks's avatar Ben Dooks Committed by Linus Torvalds

[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: default avatarBen Dooks <ben-linux@fluff.org>
Acked-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent baa351ea
...@@ -14,13 +14,7 @@ config LEDS_CLASS ...@@ -14,13 +14,7 @@ config LEDS_CLASS
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.
config LEDS_TRIGGERS comment "LED drivers"
bool "LED Trigger support"
depends NEW_LEDS
help
This option enables trigger support for the leds class.
These triggers allow kernel events to drive the LEDs and can
be configured via sysfs. If unsure, say Y.
config LEDS_CORGI config LEDS_CORGI
tristate "LED Support for the Sharp SL-C7x0 series" tristate "LED Support for the Sharp SL-C7x0 series"
...@@ -66,6 +60,16 @@ config LEDS_S3C24XX ...@@ -66,6 +60,16 @@ config LEDS_S3C24XX
This option enables support for LEDs connected to GPIO lines This option enables support for LEDs connected to GPIO lines
on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440. on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
comment "LED Triggers"
config LEDS_TRIGGERS
bool "LED Trigger support"
depends NEW_LEDS
help
This option enables trigger support for the leds class.
These triggers allow kernel events to drive the LEDs and can
be configured via sysfs. If unsure, say Y.
config LEDS_TRIGGER_TIMER config LEDS_TRIGGER_TIMER
tristate "LED Timer Trigger" tristate "LED Timer Trigger"
depends LEDS_TRIGGERS depends LEDS_TRIGGERS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment