add missing header file
[openwrt-10.03/.git] / target / linux / adm5120 / patches-2.6.23 / 310-adm5120_wdt.patch
1 diff -urN linux-2.6.23.11-old/drivers/char/watchdog/Kconfig linux-2.6.23.11/drivers/char/watchdog/Kconfig
2 --- linux-2.6.23.11-old/drivers/char/watchdog/Kconfig   2007-12-15 04:50:05.000000000 +0100
3 +++ linux-2.6.23.11/drivers/char/watchdog/Kconfig       2007-12-26 20:17:56.000000000 +0100
4 @@ -583,6 +583,18 @@
5  
6  # MIPS Architecture
7  
8 +config ADM5120_WDT
9 +       tristate "Infineon ADM5120 SoC hardware watchdog"
10 +       depends on WATCHDOG && MIPS_ADM5120
11 +       help
12 +         This is a driver for hardware watchdog integrated in Infineon
13 +         ADM5120 SoC. This watchdog simply watches your kernel to make sure
14 +         it doesn't freeze, and if it does, it reboots your computer after a
15 +         certain amount of time.
16 +
17 +         To compile this driver as a module, choose M here: the module will be
18 +         called adm5120_wdt.
19 +
20  config INDYDOG
21         tristate "Indy/I2 Hardware Watchdog"
22         depends on SGI_IP22
23 diff -urN linux-2.6.23.11-old/drivers/char/watchdog/Makefile linux-2.6.23.11/drivers/char/watchdog/Makefile
24 --- linux-2.6.23.11-old/drivers/char/watchdog/Makefile  2007-12-15 04:50:05.000000000 +0100
25 +++ linux-2.6.23.11/drivers/char/watchdog/Makefile      2007-12-26 20:19:24.000000000 +0100
26 @@ -87,6 +87,7 @@
27  # M68KNOMMU Architecture
28  
29  # MIPS Architecture
30 +obj-$(CONFIG_ADM5120_WDT) += adm5120_wdt.o
31  obj-$(CONFIG_INDYDOG) += indydog.o
32  obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
33  obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o