ramips: add watchdog driver
[openwrt.git] / target / linux / ramips / patches-2.6.36 / 104-ramips-watchdog-driver.patch
1 --- a/drivers/watchdog/Kconfig
2 +++ b/drivers/watchdog/Kconfig
3 @@ -916,6 +916,13 @@ config OCTEON_WDT
4           from the first interrupt, it is then only poked when the
5           device is written.
6  
7 +config RAMIPS_WDT
8 +       tristate "Ralink RT288X/RT305X Watchdog Timer"
9 +       depends on SOC_RT288X || SOC_RT305X
10 +       help
11 +         Hardware driver for the built-in watchdog timer on the
12 +         Ralink RT288X/RT305X SoCs.
13 +
14  # PARISC Architecture
15  
16  # POWERPC Architecture
17 --- a/drivers/watchdog/Makefile
18 +++ b/drivers/watchdog/Makefile
19 @@ -118,6 +118,7 @@ obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
20  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
21  obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
22  octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
23 +obj-$(CONFIG_RAMIPS_WDT) += ramips_wdt.o
24  
25  # PARISC Architecture
26