提交 d0afa579 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 e5e3dfc8
...@@ -602,7 +602,7 @@ config ZVM_WATCHDOG ...@@ -602,7 +602,7 @@ config ZVM_WATCHDOG
config SH_WDT config SH_WDT
tristate "SuperH Watchdog" tristate "SuperH Watchdog"
depends on SUPERH depends on SUPERH && (CPU_SH3 || CPU_SH4)
help help
This driver adds watchdog support for the integrated watchdog in the This driver adds watchdog support for the integrated watchdog in the
SuperH processors. If you have one of these processors and wish SuperH processors. If you have one of these processors and wish
......
...@@ -394,7 +394,7 @@ config RTC_DRV_SA1100 ...@@ -394,7 +394,7 @@ config RTC_DRV_SA1100
config RTC_DRV_SH config RTC_DRV_SH
tristate "SuperH On-Chip RTC" tristate "SuperH On-Chip RTC"
depends on RTC_CLASS && SUPERH depends on RTC_CLASS && SUPERH && (CPU_SH3 || CPU_SH4)
help help
Say Y here to enable support for the on-chip RTC found in Say Y here to enable support for the on-chip RTC found in
most SuperH processors. most SuperH processors.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册