aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-18 05:55:25 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-19 23:18:20 -0400
commitd0afa579698f33a65bc5c21d3d667dbb46f9e440 (patch)
treed72916a396ed179b3556bf0dc3939a645c539018 /drivers
parente5e3dfc80a7380abe101d5b5d5266bed2691de1d (diff)
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')
-rw-r--r--drivers/char/watchdog/Kconfig2
-rw-r--r--drivers/rtc/Kconfig2
2 files changed, 2 insertions, 2 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
602 602
603config SH_WDT 603config SH_WDT
604 tristate "SuperH Watchdog" 604 tristate "SuperH Watchdog"
605 depends on SUPERH 605 depends on SUPERH && (CPU_SH3 || CPU_SH4)
606 help 606 help
607 This driver adds watchdog support for the integrated watchdog in the 607 This driver adds watchdog support for the integrated watchdog in the
608 SuperH processors. If you have one of these processors and wish 608 SuperH processors. If you have one of these processors and wish
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index cea401feb0f3..35f34665e3c4 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -394,7 +394,7 @@ config RTC_DRV_SA1100
394 394
395config RTC_DRV_SH 395config RTC_DRV_SH
396 tristate "SuperH On-Chip RTC" 396 tristate "SuperH On-Chip RTC"
397 depends on RTC_CLASS && SUPERH 397 depends on RTC_CLASS && SUPERH && (CPU_SH3 || CPU_SH4)
398 help 398 help
399 Say Y here to enable support for the on-chip RTC found in 399 Say Y here to enable support for the on-chip RTC found in
400 most SuperH processors. 400 most SuperH processors.