[adm5120] add morse LED trigger, will be used for diagnostic, update kernel config
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-2.6.22 / 300-ledtrig_morse.patch
1 --- linux-2.6.21.1.orig/drivers/leds/Kconfig 2007-09-09 07:15:28.000000000 +0200
2 +++ linux-2.6.21.1/drivers/leds/Kconfig 2007-09-13 19:36:35.000000000 +0200
3 @@ -149,5 +149,9 @@
4 load average.
5 If unsure, say Y.
6
7 +config LEDS_TRIGGER_MORSE
8 + tristate "LED Morse Trigger"
9 + depends on LEDS_TRIGGERS
10 +
11 endmenu
12
13 --- linux-2.6.21.1.orig/drivers/leds/Makefile 2007-09-09 07:15:28.000000000 +0200
14 +++ linux-2.6.21.1/drivers/leds/Makefile 2007-09-13 19:33:15.000000000 +0200
15 @@ -23,3 +23,4 @@
16 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
17 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
18 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
19 +obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o