714c112a764e89c1554e5ff16037216b41417e68
[openwrt.git] / target / linux / rb532 / patches / 510-rb500_led.patch
1 Index: linux-2.6.23.17/drivers/leds/Kconfig
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/leds/Kconfig
4 +++ linux-2.6.23.17/drivers/leds/Kconfig
5 @@ -107,6 +107,12 @@ config LEDS_GPIO
6           outputs. To be useful the particular board must have LEDs
7           and they must be connected to the GPIO lines.
8  
9 +config LEDS_RB500
10 +       tristate "LED Support for RB5xx boards"
11 +       depends LEDS_CLASS && MIKROTIK_RB500
12 +       help
13 +         This option enables support for the yellow user LED on RB5xx boards.
14 +
15  comment "LED Triggers"
16  
17  config LEDS_TRIGGERS
18 Index: linux-2.6.23.17/drivers/leds/Makefile
19 ===================================================================
20 --- linux-2.6.23.17.orig/drivers/leds/Makefile
21 +++ linux-2.6.23.17/drivers/leds/Makefile
22 @@ -18,6 +18,7 @@ obj-$(CONFIG_LEDS_ALIX)                       += leds-alix.o
23  obj-$(CONFIG_LEDS_H1940)               += leds-h1940.o
24  obj-$(CONFIG_LEDS_COBALT)              += leds-cobalt.o
25  obj-$(CONFIG_LEDS_GPIO)                        += leds-gpio.o
26 +obj-$(CONFIG_LEDS_RB500)               += leds-rb500.o
27  
28  # LED Triggers
29  obj-$(CONFIG_LEDS_TRIGGER_TIMER)       += ledtrig-timer.o