X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c0b9d6593aa569f9dc10acb7d4082ed8541ed74d..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 741f557cf..a3aa7ad67 100644 --- 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 --- -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 @@ +@@ -23,9 +23,32 @@ #include #include #include @@ -38,10 +36,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 __initdata platform_device * mtx1_devs[] = { + static struct platform_device *mtx1_devs[] = { &mtx1_gpio_leds, - &mtx1_wdt + &mtx1_wdt,