[rb532] refresh 2.6.24 patches
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches-2.6.24 / 510-rb500_led.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -120,6 +120,12 @@ config LEDS_CM_X270
4 help
5 This option enables support for the CM-X270 LEDs.
6
7 +config LEDS_RB500
8 + tristate "LED Support for RB5xx boards"
9 + depends on LEDS_CLASS && MIKROTIK_RB500
10 + help
11 + This option enables support for the yellow user LED on RB5xx boards.
12 +
13 comment "LED Triggers"
14
15 config LEDS_TRIGGERS
16 --- a/drivers/leds/Makefile
17 +++ b/drivers/leds/Makefile
18 @@ -20,6 +20,7 @@ obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-
19 obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o
20 obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
21 obj-$(CONFIG_LEDS_CM_X270) += leds-cm-x270.o
22 +obj-$(CONFIG_LEDS_RB500) += leds-rb500.o
23
24 # LED Triggers
25 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o