| 1 | --- a/drivers/leds/Kconfig |
| 2 | +++ b/drivers/leds/Kconfig |
| 3 | @@ -559,4 +559,8 @@ config LEDS_TRIGGER_TRANSIENT |
| 4 | GPIO/PWM based hardware. |
| 5 | If unsure, say Y. |
| 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 | @@ -65,3 +65,4 @@ obj-$(CONFIG_LEDS_TRIGGER_GPIO) += ledt |
| 15 | obj-$(CONFIG_LEDS_TRIGGER_CPU) += ledtrig-cpu.o |
| 16 | obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o |
| 17 | obj-$(CONFIG_LEDS_TRIGGER_TRANSIENT) += ledtrig-transient.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> |
| 29 | |