diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-01-11 10:42:06 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-01-11 10:42:06 +0000 |
commit | b406aa9d5725a3b88cdd2df1902ee332689cced2 (patch) | |
tree | d4bdb75621c44823d72ffa61a04c762262350b3a /target/linux/rb532/patches/510-rb500_led.patch | |
parent | 253a7ec4993ccdd212f43c8ec207896f79ed866f (diff) | |
download | master-187ad058-b406aa9d5725a3b88cdd2df1902ee332689cced2.tar.gz master-187ad058-b406aa9d5725a3b88cdd2df1902ee332689cced2.tar.bz2 master-187ad058-b406aa9d5725a3b88cdd2df1902ee332689cced2.zip |
Upgrade rb532 to .23, provide generic GPIO API to this board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10171 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches/510-rb500_led.patch')
-rw-r--r-- | target/linux/rb532/patches/510-rb500_led.patch | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/target/linux/rb532/patches/510-rb500_led.patch b/target/linux/rb532/patches/510-rb500_led.patch index 172682d49c..a218f914da 100644 --- a/target/linux/rb532/patches/510-rb500_led.patch +++ b/target/linux/rb532/patches/510-rb500_led.patch @@ -1,22 +1,9 @@ -Index: linux-2.6.21.1/drivers/leds/Makefile -=================================================================== ---- linux-2.6.21.1.orig/drivers/leds/Makefile 2007-07-10 20:56:30.000000000 +0200 -+++ linux-2.6.21.1/drivers/leds/Makefile 2007-07-19 16:43:07.000000000 +0200 -@@ -16,6 +16,7 @@ - obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o - obj-$(CONFIG_LEDS_H1940) += leds-h1940.o - obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o -+obj-$(CONFIG_LEDS_RB500) += leds-rb500.o - - # LED Triggers - obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o -Index: linux-2.6.21.1/drivers/leds/Kconfig -=================================================================== ---- linux-2.6.21.1.orig/drivers/leds/Kconfig 2007-07-10 20:56:30.000000000 +0200 -+++ linux-2.6.21.1/drivers/leds/Kconfig 2007-07-19 16:42:55.000000000 +0200 -@@ -95,6 +95,12 @@ - help - This option enables support for the front LED on Cobalt Server +diff -urN linux-2.6.23.12/drivers/leds/Kconfig linux-2.6.23.12.new/drivers/leds/Kconfig +--- linux-2.6.23.12/drivers/leds/Kconfig 2007-12-18 22:55:57.000000000 +0100 ++++ linux-2.6.23.12.new/drivers/leds/Kconfig 2008-01-11 09:01:19.000000000 +0100 +@@ -101,6 +101,12 @@ + outputs. To be useful the particular board must have LEDs + and they must be connected to the GPIO lines. +config LEDS_RB500 + tristate "LED Support for RB5xx boards" @@ -27,3 +14,14 @@ Index: linux-2.6.21.1/drivers/leds/Kconfig comment "LED Triggers" config LEDS_TRIGGERS +diff -urN linux-2.6.23.12/drivers/leds/Makefile linux-2.6.23.12.new/drivers/leds/Makefile +--- linux-2.6.23.12/drivers/leds/Makefile 2007-12-18 22:55:57.000000000 +0100 ++++ linux-2.6.23.12.new/drivers/leds/Makefile 2008-01-11 09:00:49.000000000 +0100 +@@ -17,6 +17,7 @@ + obj-$(CONFIG_LEDS_H1940) += leds-h1940.o + obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o + obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o ++obj-$(CONFIG_LEDS_RB500) += leds-rb500.o + + # LED Triggers + obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o |