Root/target/linux/mcs814x/patches-3.3/006-mcs814x_wdt.patch

1--- a/drivers/watchdog/Kconfig
2+++ b/drivers/watchdog/Kconfig
3@@ -343,6 +343,12 @@ config IMX2_WDT
4       To compile this driver as a module, choose M here: the
5       module will be called imx2_wdt.
6 
7+config MCS814X_WATCHDOG
8+ tristate "Moschip MCS814x watchdog"
9+ depends on WATCHDOG_CORE && ARCH_MCS814X
10+ help
11+ Support for the Moschip MCS814x SoCs on-chip watchdog timer.
12+
13 # AVR32 Architecture
14 
15 config AT32AP700X_WDT
16--- a/drivers/watchdog/Makefile
17+++ b/drivers/watchdog/Makefile
18@@ -53,6 +53,7 @@ obj-$(CONFIG_STMP3XXX_WATCHDOG) += stmp3
19 obj-$(CONFIG_NUC900_WATCHDOG) += nuc900_wdt.o
20 obj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o
21 obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o
22+obj-$(CONFIG_MCS814X_WATCHDOG) += mcs814x_wdt.o
23 
24 # AVR32 Architecture
25 obj-$(CONFIG_AT32AP700X_WDT) += at32ap700x_wdt.o
26

Archive Download this file



interactive