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