diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2012-11-18 18:52:38 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2012-11-18 18:52:38 +0000 |
commit | 935ca3f3eb7435b50b91bc2ed341a4bbd6e759b0 (patch) | |
tree | 48e34d859046c692a221dddd165db5abc37feb90 /target/linux/generic/patches-3.7/830-ledtrig_morse.patch | |
parent | d0226aff1d62d39530819938ac116ee3cbb93efa (diff) | |
download | mtk-20170518-935ca3f3eb7435b50b91bc2ed341a4bbd6e759b0.zip mtk-20170518-935ca3f3eb7435b50b91bc2ed341a4bbd6e759b0.tar.gz mtk-20170518-935ca3f3eb7435b50b91bc2ed341a4bbd6e759b0.tar.bz2 |
add 3.7-rc6 support (patch 820 still has to be fixed)
SVN-Revision: 34247
Diffstat (limited to 'target/linux/generic/patches-3.7/830-ledtrig_morse.patch')
-rw-r--r-- | target/linux/generic/patches-3.7/830-ledtrig_morse.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.7/830-ledtrig_morse.patch b/target/linux/generic/patches-3.7/830-ledtrig_morse.patch new file mode 100644 index 0000000..aed116e --- /dev/null +++ b/target/linux/generic/patches-3.7/830-ledtrig_morse.patch @@ -0,0 +1,28 @@ +--- a/drivers/leds/Kconfig ++++ b/drivers/leds/Kconfig +@@ -559,4 +559,8 @@ config LEDS_TRIGGER_TRANSIENT + GPIO/PWM based hardware. + If unsure, say Y. + ++config LEDS_TRIGGER_MORSE ++ tristate "LED Morse Trigger" ++ depends on LEDS_TRIGGERS ++ + endif # NEW_LEDS +--- a/drivers/leds/Makefile ++++ b/drivers/leds/Makefile +@@ -65,3 +65,4 @@ obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledt + obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o + obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o + obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.o ++obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o +--- a/drivers/leds/ledtrig-morse.c ++++ b/drivers/leds/ledtrig-morse.c +@@ -26,7 +26,6 @@ + #include <linux/list.h> + #include <linux/spinlock.h> + #include <linux/device.h> +-#include <linux/sysdev.h> + #include <linux/timer.h> + #include <linux/ctype.h> + #include <linux/leds.h> |