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.
Unified · Split
| @@ -109,7 +109,7 @@ config WM8350_WATCHDOG · 108 unmodified lines | |||
| 109 | 109 | ||
| 110 | config ARM_SP805_WATCHDOG | 110 | config ARM_SP805_WATCHDOG |
| 111 | tristate "ARM SP805 Watchdog" | 111 | tristate "ARM SP805 Watchdog" |
| 112 | depends on ARM_AMBA | 112 | depends on ARM && ARM_AMBA |
| 113 | select WATCHDOG_CORE | 113 | select WATCHDOG_CORE |
| 114 | help | 114 | help |
| 115 | ARM Primecell SP805 Watchdog timer. This will reboot your system when | 115 | ARM Primecell SP805 Watchdog timer. This will reboot your system when |