瀏覽代碼

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>
Thierry Reding 9 年之前
父節點
當前提交
c3525e3f09
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/watchdog/Kconfig

+ 1 - 0
drivers/watchdog/Kconfig

@@ -399,6 +399,7 @@ config DAVINCI_WATCHDOG
 config ORION_WATCHDOG
 config ORION_WATCHDOG
 	tristate "Orion watchdog"
 	tristate "Orion watchdog"
 	depends on ARCH_ORION5X || ARCH_DOVE || MACH_DOVE || ARCH_MVEBU
 	depends on ARCH_ORION5X || ARCH_DOVE || MACH_DOVE || ARCH_MVEBU
+	depends on ARM
 	select WATCHDOG_CORE
 	select WATCHDOG_CORE
 	help
 	help
 	  Say Y here if to include support for the watchdog timer
 	  Say Y here if to include support for the watchdog timer