Commit c3525e3f09526b3ea2b59bb8f9b78cb2ff19a094

Authored by Thierry Reding
Committed by Wim Van Sebroeck
1 parent 0519e91d80

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/watchdog/Kconfig
... ... @@ -399,6 +399,7 @@
399 399 config ORION_WATCHDOG
400 400 tristate "Orion watchdog"
401 401 depends on ARCH_ORION5X || ARCH_DOVE || MACH_DOVE || ARCH_MVEBU
  402 + depends on ARM
402 403 select WATCHDOG_CORE
403 404 help
404 405 Say Y here if to include support for the watchdog timer