kernel: generic: add kernel 4.3
[openwrt.git] / target / linux / generic / patches-4.3 / 830-ledtrig_morse.patch
1 --- a/drivers/leds/trigger/Kconfig
2 +++ b/drivers/leds/trigger/Kconfig
3 @@ -108,4 +108,8 @@ config LEDS_TRIGGER_CAMERA
4           This enables direct flash/torch on/off by the driver, kernel space.
5           If unsure, say Y.
6  
7 +config LEDS_TRIGGER_MORSE
8 +       tristate "LED Morse Trigger"
9 +       depends on LEDS_TRIGGERS
10 +
11  endif # LEDS_TRIGGERS
12 --- a/drivers/leds/Makefile
13 +++ b/drivers/leds/Makefile
14 @@ -71,3 +71,4 @@ obj-$(CONFIG_LEDS_DAC124S085)         += leds-d
15  
16  # LED Triggers
17  obj-$(CONFIG_LEDS_TRIGGERS)            += trigger/
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>