Skip to content

Commit

Permalink
[PATCH] leds: reorganise Kconfig
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Apr 11, 2006
1 parent baa351e commit 24f51e8
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions drivers/leds/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 24f51e8

Please sign in to comment.