diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-06-25 08:49:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:23 -0400 |
commit | 891c668b90ded38cec36f0852c4983573597170d (patch) | |
tree | 50bd91c6a8afab05cf974d5abe100b69b2bb3fd4 /drivers/leds/Kconfig | |
parent | fa9799e33d362aeca4555cd6318735bab1c04d16 (diff) |
[PATCH] LED: add LED heartbeat trigger
Add an LED trigger acts like a heart beat. This can be used as a
replacement of CONFIG_HEARTBEAT code exists in some arch's timer code.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Cc: "Nish Aravamudan" <nish.aravamudan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index f573d5af0b1f..96509989e921 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -93,5 +93,14 @@ config LEDS_TRIGGER_IDE_DISK | |||
93 | This allows LEDs to be controlled by IDE disk activity. | 93 | This allows LEDs to be controlled by IDE disk activity. |
94 | If unsure, say Y. | 94 | If unsure, say Y. |
95 | 95 | ||
96 | config LEDS_TRIGGER_HEARTBEAT | ||
97 | tristate "LED Heartbeat Trigger" | ||
98 | depends LEDS_TRIGGERS | ||
99 | help | ||
100 | This allows LEDs to be controlled by a CPU load average. | ||
101 | The flash frequency is a hyperbolic function of the 1-minute | ||
102 | load average. | ||
103 | If unsure, say Y. | ||
104 | |||
96 | endmenu | 105 | endmenu |
97 | 106 | ||