summaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/patches/002-sys_btn_gpio.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-19 07:34:56 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-19 07:34:56 +0000
commitb8abb00e2f4ca09b8b30f37e1065d2d449ff29f9 (patch)
treeba36b0fef4f27ac07dd8c29f0d827570068cc099 /target/linux/au1000/patches/002-sys_btn_gpio.patch
parentf3a87e2bd87c0bf884a291948aa8fb998875cb20 (diff)
[au1000] bump to 2.6.25.4, refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000/patches/002-sys_btn_gpio.patch')
-rw-r--r--target/linux/au1000/patches/002-sys_btn_gpio.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/au1000/patches/002-sys_btn_gpio.patch b/target/linux/au1000/patches/002-sys_btn_gpio.patch
index 741f557cf..65102f26a 100644
--- a/target/linux/au1000/patches/002-sys_btn_gpio.patch
+++ b/target/linux/au1000/patches/002-sys_btn_gpio.patch
@@ -2,11 +2,11 @@ This patch adds support for the GPIO connected system button on the MTX-1 boards
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
---
-diff --git a/arch/mips/au1000/mtx-1/platform.c b/arch/mips/au1000/mtx-1/platform.c
-index 49c0fb4..ce8637b 100644
---- a/arch/mips/au1000/mtx-1/platform.c
-+++ b/arch/mips/au1000/mtx-1/platform.c
-@@ -22,9 +22,32 @@
+Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c
+===================================================================
+--- linux-2.6.25.4.orig/arch/mips/au1000/mtx-1/platform.c
++++ linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c
+@@ -23,9 +23,32 @@
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
@@ -38,10 +38,10 @@ index 49c0fb4..ce8637b 100644
+
static struct resource mtx1_wdt_res[] = {
[0] = {
- .start = 15,
-@@ -66,11 +89,13 @@ static struct platform_device mtx1_gpio_leds = {
+ .start = 15,
+@@ -62,11 +85,13 @@ static struct platform_device mtx1_gpio_
- static struct __initdata platform_device * mtx1_devs[] = {
+ static struct platform_device *mtx1_devs[] = {
&mtx1_gpio_leds,
- &mtx1_wdt
+ &mtx1_wdt,