aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2013-02-20 17:41:04 -0500
committerWim Van Sebroeck <wim@iguana.be>2013-03-01 06:56:26 -0500
commit41e9f3f71bc7a5d41a2b925cfdc0dc22a77f7d8c (patch)
treef985ff02bb2d5830e6bb226d5ef8e512e64f33ba /drivers/watchdog
parente20880e60faadc03837f661533135adb4b7cde01 (diff)
watchdog: sp805_wdt depends on ARM
The SP805 driver is only used by the Spear machines, and uses writel_relaxed, which is not available on all architectures. The dependency from CONFIG_ARM avoids compilation problems under randomconfig when CONFIG_ARM_AMBA is enabled for x86 builds. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 0374e0edb923..9fcc70c11cea 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -109,7 +109,7 @@ config WM8350_WATCHDOG
109 109
110config ARM_SP805_WATCHDOG 110config ARM_SP805_WATCHDOG
111 tristate "ARM SP805 Watchdog" 111 tristate "ARM SP805 Watchdog"
112 depends on ARM_AMBA 112 depends on ARM && ARM_AMBA
113 select WATCHDOG_CORE 113 select WATCHDOG_CORE
114 help 114 help
115 ARM Primecell SP805 Watchdog timer. This will reboot your system when 115 ARM Primecell SP805 Watchdog timer. This will reboot your system when