[8.09] kernel: refresh patches
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches / 310-adm5120_wdt.patch
1 --- a/drivers/watchdog/Kconfig
2 +++ b/drivers/watchdog/Kconfig
3 @@ -632,6 +632,18 @@ config SBC_EPX_C3_WATCHDOG
4
5 # MIPS Architecture
6
7 +config ADM5120_WDT
8 + tristate "Infineon ADM5120 SoC hardware watchdog"
9 + depends on WATCHDOG && ADM5120
10 + help
11 + This is a driver for hardware watchdog integrated in Infineon
12 + ADM5120 SoC. This watchdog simply watches your kernel to make sure
13 + it doesn't freeze, and if it does, it reboots your computer after a
14 + certain amount of time.
15 +
16 + To compile this driver as a module, choose M here: the module will be
17 + called adm5120_wdt.
18 +
19 config INDYDOG
20 tristate "Indy/I2 Hardware Watchdog"
21 depends on SGI_HAS_INDYDOG
22 --- a/drivers/watchdog/Makefile
23 +++ b/drivers/watchdog/Makefile
24 @@ -91,6 +91,7 @@ obj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc
25 # M68KNOMMU Architecture
26
27 # MIPS Architecture
28 +obj-$(CONFIG_ADM5120_WDT) += adm5120_wdt.o
29 obj-$(CONFIG_INDYDOG) += indydog.o
30 obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
31 obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o