adds watchdog driver to ar5315
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches-2.6.26 / 120-watchdog.patch
1 Index: linux-2.6.26.2/drivers/watchdog/Kconfig
2 ===================================================================
3 --- linux-2.6.26.2.orig/drivers/watchdog/Kconfig 2008-08-14 16:54:30.000000000 +0200
4 +++ linux-2.6.26.2/drivers/watchdog/Kconfig 2008-08-14 16:55:40.000000000 +0200
5 @@ -683,6 +683,12 @@
6 help
7 Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
8
9 +config ATHEROS_WDT
10 + tristate "Atheros wisoc Watchdog Timer"
11 + depends on ATHEROS
12 + help
13 + Hardware driver for the Atheros wisoc Watchdog Timer.
14 +
15 # PARISC Architecture
16
17 # POWERPC Architecture
18 Index: linux-2.6.26.2/drivers/watchdog/Makefile
19 ===================================================================
20 --- linux-2.6.26.2.orig/drivers/watchdog/Makefile 2008-08-14 16:55:44.000000000 +0200
21 +++ linux-2.6.26.2/drivers/watchdog/Makefile 2008-08-14 16:58:16.000000000 +0200
22 @@ -97,6 +97,7 @@
23 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
24 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
25 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
26 +obj-$(CONFIG_ATHEROS_WDT) += ar2315-wtd.o
27
28 # PARISC Architecture
29