projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] tew-632brp: register GPIO buttons
[openwrt.git]
/
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
741f557
..
e38b83f
100644
(file)
--- a/
target/linux/au1000/patches/002-sys_btn_gpio.patch
+++ b/
target/linux/au1000/patches/002-sys_btn_gpio.patch
@@
-2,11
+2,9
@@
This patch adds support for the GPIO connected system button on the MTX-1 boards
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
---
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
--- a/arch/mips/au1000/mtx-1/platform.c
+++ b/arch/mips/au1000/mtx-1/platform.c
-@@ -2
2,9 +22
,32 @@
+@@ -2
3,9 +23
,32 @@
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/leds.h>
@@
-38,10
+36,10
@@
index 49c0fb4..ce8637b 100644
+
static struct resource mtx1_wdt_res[] = {
[0] = {
+
static struct resource mtx1_wdt_res[] = {
[0] = {
- .start
= 15,
-@@ -6
6,11 +89,13 @@ static struct platform_device mtx1_gpio_leds = {
+ .start = 15,
+@@ -6
2,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,
&mtx1_gpio_leds,
- &mtx1_wdt
+ &mtx1_wdt,
This page took
0.027113 seconds
and
4
git commands to generate.