kernel: update 3.18 to 3.18.1
[openwrt.git] / target / linux / generic / patches-3.3 / 830-ledtrig_morse.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -480,4 +480,8 @@ config LEDS_TRIGGER_DEFAULT_ON
4  comment "iptables trigger is under Netfilter config (LED target)"
5         depends on LEDS_TRIGGERS
6  
7 +config LEDS_TRIGGER_MORSE
8 +       tristate "LED Morse Trigger"
9 +       depends on LEDS_TRIGGERS
10 +
11  endif # NEW_LEDS
12 --- a/drivers/leds/Makefile
13 +++ b/drivers/leds/Makefile
14 @@ -57,3 +57,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)  +=
15  obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT)   += ledtrig-backlight.o
16  obj-$(CONFIG_LEDS_TRIGGER_GPIO)                += ledtrig-gpio.o
17  obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o
18 +obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o
19 --- a/drivers/leds/ledtrig-morse.c
20 +++ b/drivers/leds/ledtrig-morse.c
21 @@ -26,7 +26,6 @@
22  #include <linux/list.h>
23  #include <linux/spinlock.h>
24  #include <linux/device.h>
25 -#include <linux/sysdev.h>
26  #include <linux/timer.h>
27  #include <linux/ctype.h>
28  #include <linux/leds.h>