diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-06-25 05:49:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:23 -0700 |
commit | 891c668b90ded38cec36f0852c4983573597170d (patch) | |
tree | 50bd91c6a8afab05cf974d5abe100b69b2bb3fd4 /drivers/leds/Kconfig | |
parent | fa9799e33d362aeca4555cd6318735bab1c04d16 (diff) | |
download | op-kernel-dev-891c668b90ded38cec36f0852c4983573597170d.zip op-kernel-dev-891c668b90ded38cec36f0852c4983573597170d.tar.gz |
[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 f573d5a..9650998 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -93,5 +93,14 @@ config LEDS_TRIGGER_IDE_DISK This allows LEDs to be controlled by IDE disk activity. If unsure, say Y. +config LEDS_TRIGGER_HEARTBEAT + tristate "LED Heartbeat Trigger" + depends LEDS_TRIGGERS + help + This allows LEDs to be controlled by a CPU load average. + The flash frequency is a hyperbolic function of the 1-minute + load average. + If unsure, say Y. + endmenu |