ar71xx: add 2.6.39 support
[openwrt.git] / target / linux / ar71xx / patches-2.6.39 / 006-ar71xx_wdt_driver.patch
1 --- a/drivers/watchdog/Kconfig
2 +++ b/drivers/watchdog/Kconfig
3 @@ -990,6 +990,13 @@ config BCM63XX_WDT
4           To compile this driver as a loadable module, choose M here.
5           The module will be called bcm63xx_wdt.
6  
7 +config AR71XX_WDT
8 +       tristate "Atheros AR71xx Watchdog Timer"
9 +       depends on ATHEROS_AR71XX
10 +       help
11 +         Hardware driver for the built-in watchdog timer on the Atheros
12 +         AR71xx SoCs.
13 +
14  # PARISC Architecture
15  
16  # POWERPC Architecture
17 --- a/drivers/watchdog/Makefile
18 +++ b/drivers/watchdog/Makefile
19 @@ -119,6 +119,7 @@ obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
20  obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
21  obj-$(CONFIG_PNX833X_WDT) += pnx833x_wdt.o
22  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
23 +obj-$(CONFIG_AR71XX_WDT) += ar71xx_wdt.o
24  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
25  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
26  obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o