X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b8abb00e2f4ca09b8b30f37e1065d2d449ff29f9..7f8cad5eeb1916f10c61634df15999c0ba8b6776:/target/linux/au1000/patches/002-sys_btn_gpio.patch diff --git a/target/linux/au1000/patches/002-sys_btn_gpio.patch b/target/linux/au1000/patches/002-sys_btn_gpio.patch index 65102f26a..a3aa7ad67 100644 --- a/target/linux/au1000/patches/002-sys_btn_gpio.patch +++ b/target/linux/au1000/patches/002-sys_btn_gpio.patch @@ -2,10 +2,8 @@ This patch adds support for the GPIO connected system button on the MTX-1 boards Signed-off-by: Florian Fainelli --- -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 +--- a/arch/mips/au1000/mtx-1/platform.c ++++ b/arch/mips/au1000/mtx-1/platform.c @@ -23,9 +23,32 @@ #include #include @@ -39,7 +37,7 @@ Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c static struct resource mtx1_wdt_res[] = { [0] = { .start = 15, -@@ -62,11 +85,13 @@ static struct platform_device mtx1_gpio_ +@@ -62,11 +85,13 @@ static struct platform_device *mtx1_devs[] = { &mtx1_gpio_leds,