aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-12-30 07:25:54 -0500
committerWim Van Sebroeck <wim@iguana.be>2014-01-28 15:25:46 -0500
commit58a251f2c25a5305b6b18be7e576b75f6f9ce187 (patch)
treee8709a52bca3ae43b705989f9abdd2dd679f1e45
parent1a9c5efa576eccadd2836a1e53dcea21f999c180 (diff)
watchdog: dw_wdt: remove build dependencies
There is nothing ARM specific in this driver, and we intend to use it on the Xtensa architecture. Also, clk.h now includes stubs for !CONFIG_HAVE_CLK, so the driver should build anyway. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/Kconfig3
-rw-r--r--drivers/watchdog/dw_wdt.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index c11a3387335d..833ebe691f9f 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -223,10 +223,9 @@ config SA1100_WATCHDOG
223 223
224config DW_WATCHDOG 224config DW_WATCHDOG
225 tristate "Synopsys DesignWare watchdog" 225 tristate "Synopsys DesignWare watchdog"
226 depends on ARM && HAVE_CLK
227 help 226 help
228 Say Y here if to include support for the Synopsys DesignWare 227 Say Y here if to include support for the Synopsys DesignWare
229 watchdog timer found in many ARM chips. 228 watchdog timer found in many chips.
230 To compile this driver as a module, choose M here: the 229 To compile this driver as a module, choose M here: the
231 module will be called dw_wdt. 230 module will be called dw_wdt.
232 231
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index a46f5c7ee7ff..ee4f86ba83ec 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -8,7 +8,7 @@
8 * 2 of the License, or (at your option) any later version. 8 * 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This file implements a driver for the Synopsys DesignWare watchdog device 10 * This file implements a driver for the Synopsys DesignWare watchdog device
11 * in the many ARM subsystems. The watchdog has 16 different timeout periods 11 * in the many subsystems. The watchdog has 16 different timeout periods
12 * and these are a function of the input clock frequency. 12 * and these are a function of the input clock frequency.
13 * 13 *
14 * The DesignWare watchdog cannot be stopped once it has been started so we 14 * The DesignWare watchdog cannot be stopped once it has been started so we