summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-18 11:55:25 +0200
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 05:18:20 +0200
commitd0afa579698f33a65bc5c21d3d667dbb46f9e440 (patch)
treed72916a396ed179b3556bf0dc3939a645c539018 /drivers/char
parentsh: push-switch: Correct license string. (diff)
downloadlinux-d0afa579698f33a65bc5c21d3d667dbb46f9e440.tar.xz
linux-d0afa579698f33a65bc5c21d3d667dbb46f9e440.zip
sh: Fix up SH-3 and SH-4 driver dependencies.
Both shwdt and rtc-sh are only supported on SH-3 and SH-4 at the moment, don't allow them to break the SH-2 and SH-5 (sh64) builds. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/Kconfig b/drivers/char/watchdog/Kconfig
index 2f48ba329961..ad5cc5f6862f 100644
--- a/drivers/char/watchdog/Kconfig
+++ b/drivers/char/watchdog/Kconfig
@@ -602,7 +602,7 @@ config ZVM_WATCHDOG
config SH_WDT
tristate "SuperH Watchdog"
- depends on SUPERH
+ depends on SUPERH && (CPU_SH3 || CPU_SH4)
help
This driver adds watchdog support for the integrated watchdog in the
SuperH processors. If you have one of these processors and wish