summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-02-24 17:22:06 +0300
committerWim Van Sebroeck <wim@iguana.be>2016-03-01 17:16:11 +0300
commitc3525e3f09526b3ea2b59bb8f9b78cb2ff19a094 (patch)
tree680457ae8d440e81aa80ac896e1862cbf4e7e85d /drivers/watchdog
parent0519e91d80148086997aa5f3ab5d15e95151b6b1 (diff)
downloadlinux-c3525e3f09526b3ea2b59bb8f9b78cb2ff19a094.tar.xz
watchdog: orion: Depend on 32-bit ARM
The driver uses the atomic_io_modify() function to update registers, but that function is only available on 32-bit ARM. Recent changes have added ARCH_MVEBU support to 64-bit ARM and hence allowed this driver to build on 64-bit ARM where this function isn't available and thereby causing allmodconfig builds to break. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index d8108d8ad747..fc1b2959c0b3 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -399,6 +399,7 @@ config DAVINCI_WATCHDOG
config ORION_WATCHDOG
tristate "Orion watchdog"
depends on ARCH_ORION5X || ARCH_DOVE || MACH_DOVE || ARCH_MVEBU
+ depends on ARM
select WATCHDOG_CORE
help
Say Y here if to include support for the watchdog timer