switch ar7 to 2.6.23
[openwrt-10.03/.git] / target / linux / ar7 / patches-2.6.23 / 140-watchdog.patch
1 Index: linux-2.6.23-rc6/drivers/char/watchdog/Kconfig
2 ===================================================================
3 --- linux-2.6.23-rc6.orig/drivers/char/watchdog/Kconfig 2007-09-21 16:23:51.000000000 +0800
4 +++ linux-2.6.23-rc6/drivers/char/watchdog/Kconfig      2007-09-21 16:24:12.000000000 +0800
5 @@ -583,6 +583,12 @@
6  
7  # MIPS Architecture
8  
9 +config AR7_WDT
10 +       tristate "TI AR7 Watchdog Timer"
11 +       depends on WATCHDOG && AR7
12 +       help
13 +         Hardware driver for the TI AR7 Watchdog Timer.
14 +
15  config INDYDOG
16         tristate "Indy/I2 Hardware Watchdog"
17         depends on SGI_IP22
18 Index: linux-2.6.23-rc6/drivers/char/watchdog/Makefile
19 ===================================================================
20 --- linux-2.6.23-rc6.orig/drivers/char/watchdog/Makefile        2007-09-21 16:23:51.000000000 +0800
21 +++ linux-2.6.23-rc6/drivers/char/watchdog/Makefile     2007-09-21 16:24:12.000000000 +0800
22 @@ -87,6 +87,7 @@
23  # M68KNOMMU Architecture
24  
25  # MIPS Architecture
26 +obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
27  obj-$(CONFIG_INDYDOG) += indydog.o
28  obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
29  obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o