172682d49cfe83a2b0296ddad83527d1ad208aa3
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches / 510-rb500_led.patch
1 Index: linux-2.6.21.1/drivers/leds/Makefile
2 ===================================================================
3 --- linux-2.6.21.1.orig/drivers/leds/Makefile 2007-07-10 20:56:30.000000000 +0200
4 +++ linux-2.6.21.1/drivers/leds/Makefile 2007-07-19 16:43:07.000000000 +0200
5 @@ -16,6 +16,7 @@
6 obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
7 obj-$(CONFIG_LEDS_H1940) += leds-h1940.o
8 obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o
9 +obj-$(CONFIG_LEDS_RB500) += leds-rb500.o
10
11 # LED Triggers
12 obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
13 Index: linux-2.6.21.1/drivers/leds/Kconfig
14 ===================================================================
15 --- linux-2.6.21.1.orig/drivers/leds/Kconfig 2007-07-10 20:56:30.000000000 +0200
16 +++ linux-2.6.21.1/drivers/leds/Kconfig 2007-07-19 16:42:55.000000000 +0200
17 @@ -95,6 +95,12 @@
18 help
19 This option enables support for the front LED on Cobalt Server
20
21 +config LEDS_RB500
22 + tristate "LED Support for RB5xx boards"
23 + depends LEDS_CLASS && MIKROTIK_RB500
24 + help
25 + This option enables support for the yellow user LED on RB5xx boards.
26 +
27 comment "LED Triggers"
28
29 config LEDS_TRIGGERS