fix build failure on vmlinux.lds with 2.6.31 (#6052)
[openwrt/staging/chunkeey.git] / target / linux / generic-2.6 / patches-2.6.27 / 400-ledtrig_morse.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -206,4 +206,8 @@ config LEDS_TRIGGER_DEFAULT_ON
4 This allows LEDs to be initialised in the ON state.
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 @@ -29,3 +29,4 @@ obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledt
15 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
16 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += ledtrig-heartbeat.o
17 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o
18 +obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o