* [RFC] [LEDS] reorganise Kconfig
@ 2006-04-01 15:42 Ben Dooks
2006-04-02 10:44 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2006-04-01 15:42 UTC (permalink / raw)
To: linux-kernel; +Cc: rpurdie
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
This patch reorganises the drivers/leds Kconfig
file to have the LED trigger enable with the
triggers themselves.
The patch also adds comments to divide up the
sections into the drivers and triggers
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[-- Attachment #2: 2616-leds-kconfig-reorg.patch --]
[-- Type: text/plain, Size: 1344 bytes --]
diff -urpN -X ../dontdiff linux-2.6.16-git20-bjd3/drivers/leds/Kconfig linux-2.6.16-git20-bjd4/drivers/leds/Kconfig
--- linux-2.6.16-git20-bjd3/drivers/leds/Kconfig 2006-04-01 14:49:22.000000000 +0100
+++ linux-2.6.16-git20-bjd4/drivers/leds/Kconfig 2006-04-01 16:37:11.000000000 +0100
@@ -14,13 +14,7 @@ config LEDS_CLASS
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.
-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.
+comment "LED drivers"
config LEDS_CORGI
tristate "LED Support for the Sharp SL-C7x0 series"
@@ -66,6 +60,16 @@ config LEDS_S3C24XX
This option enables support for LEDs connected to GPIO lines
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
tristate "LED Timer Trigger"
depends LEDS_TRIGGERS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] [LEDS] reorganise Kconfig
2006-04-01 15:42 [RFC] [LEDS] reorganise Kconfig Ben Dooks
@ 2006-04-02 10:44 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2006-04-02 10:44 UTC (permalink / raw)
To: linux-kernel, Andrew Morton; +Cc: Ben Dooks
On Sat, 2006-04-01 at 16:42 +0100, Ben Dooks wrote:
> This patch reorganises the drivers/leds Kconfig
> file to have the LED trigger enable with the
> triggers themselves.
>
> The patch also adds 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-02 10:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-01 15:42 [RFC] [LEDS] reorganise Kconfig Ben Dooks
2006-04-02 10:44 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®