diff options
Diffstat (limited to 'target/linux/atheros/patches-3.10/100-board.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/100-board.patch | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/100-board.patch b/target/linux/atheros/patches-3.10/100-board.patch index 316982753c..28c93bee8b 100644 --- a/target/linux/atheros/patches-3.10/100-board.patch +++ b/target/linux/atheros/patches-3.10/100-board.patch @@ -2134,7 +2134,7 @@ + --- /dev/null +++ b/arch/mips/ar231x/ar2315.c -@@ -0,0 +1,624 @@ +@@ -0,0 +1,639 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -2524,9 +2524,24 @@ + .num_resources = ARRAY_SIZE(ar2315_spiflash_res) +}; + ++static struct resource ar2315_wdt_res[] = { ++ { ++ .flags = IORESOURCE_MEM, ++ .start = AR2315_WD, ++ .end = AR2315_WD + 8 - 1, ++ }, ++ { ++ .flags = IORESOURCE_IRQ, ++ .start = AR531X_MISC_IRQ_WATCHDOG, ++ .end = AR531X_MISC_IRQ_WATCHDOG, ++ } ++}; ++ +static struct platform_device ar2315_wdt = { + .id = 0, + .name = "ar2315-wdt", ++ .resource = ar2315_wdt_res, ++ .num_resources = ARRAY_SIZE(ar2315_wdt_res) +}; + +/* |