Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

watchdog: sp805_wdt depends on ARM

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 <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Alessandro Rubini and committed by
Wim Van Sebroeck
41e9f3f7 e20880e6

+1 -1
+1 -1
drivers/watchdog/Kconfig
··· 109 109 110 110 config ARM_SP805_WATCHDOG 111 111 tristate "ARM SP805 Watchdog" 112 - depends on ARM_AMBA 112 + depends on ARM && ARM_AMBA 113 113 select WATCHDOG_CORE 114 114 help 115 115 ARM Primecell SP805 Watchdog timer. This will reboot your system when