]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
watchdog: orion: Depend on 32-bit ARM
authorThierry Reding <treding@nvidia.com>
Wed, 24 Feb 2016 14:22:06 +0000 (15:22 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 1 Mar 2016 14:16:11 +0000 (15:16 +0100)
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>
drivers/watchdog/Kconfig

index d8108d8ad7479b8baf722e8a3db7c21df5ac2414..fc1b2959c0b3d6e2abc280d8793ee4500a298097 100644 (file)
@@ -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