kernel: refresh patches
[openwrt/svn-archive/openwrt.git] / target / linux / rb532 / patches-2.6.23 / 510-rb500_led.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -107,6 +107,12 @@ config LEDS_GPIO
4 outputs. To be useful the particular board must have LEDs
5 and they must be connected to the GPIO lines.
6
7 +config LEDS_RB500
8 + tristate "LED Support for RB5xx boards"
9 + depends 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 @@ -18,6 +18,7 @@ obj-$(CONFIG_LEDS_ALIX) += leds-alix.o
19 obj-$(CONFIG_LEDS_H1940) += leds-h1940.o
20 obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o
21 obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
22 +obj-$(CONFIG_LEDS_RB500) += leds-rb500.o
23
24 # LED Triggers
25 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o