openwrt-owl/target/linux/generic-2.6/patches-2.6.22/400-ledtrig_morse.patch

24 lines
876 B
Diff

Index: linux-2.6.22.19/drivers/leds/Kconfig
===================================================================
--- linux-2.6.22.19.orig/drivers/leds/Kconfig
+++ linux-2.6.22.19/drivers/leds/Kconfig
@@ -128,5 +128,9 @@ config LEDS_TRIGGER_HEARTBEAT
load average.
If unsure, say Y.
+config LEDS_TRIGGER_MORSE
+ tristate "LED Morse Trigger"
+ depends on LEDS_TRIGGERS
+
endmenu
Index: linux-2.6.22.19/drivers/leds/Makefile
===================================================================
--- linux-2.6.22.19.orig/drivers/leds/Makefile
+++ linux-2.6.22.19/drivers/leds/Makefile
@@ -21,3 +21,4 @@ obj-$(CONFIG_LEDS_COBALT) += leds-cobal
obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
+obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o