]> Git Repo - linux.git/commitdiff
watchdog: sp805_wdt depends on ARM
authorAlessandro Rubini <[email protected]>
Wed, 20 Feb 2013 22:41:04 +0000 (23:41 +0100)
committerWim Van Sebroeck <[email protected]>
Fri, 1 Mar 2013 11:56:26 +0000 (12:56 +0100)
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 <[email protected]>
Acked-by: Giancarlo Asnaghi <[email protected]>
Signed-off-by: Davide Ciminaghi <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
drivers/watchdog/Kconfig

index 0374e0edb9239eebfda10935b705b15e31fe999c..9fcc70c11ceae14b78052dbab2b4eaafdee553db 100644 (file)
@@ -109,7 +109,7 @@ config WM8350_WATCHDOG
 
 config ARM_SP805_WATCHDOG
        tristate "ARM SP805 Watchdog"
-       depends on ARM_AMBA
+       depends on ARM && ARM_AMBA
        select WATCHDOG_CORE
        help
          ARM Primecell SP805 Watchdog timer. This will reboot your system when
This page took 0.066857 seconds and 4 git commands to generate.