diff options
author | Deng-Cheng Zhu <dengcheng.zhu@imgtec.com> | 2015-03-07 13:30:22 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 11:21:26 -0400 |
commit | ff37015b6d8078eed8641fa7602e09fee7db761a (patch) | |
tree | bae4c03232b8d9a0d1d236a3916a9517a20e93fc | |
parent | bb877e96bea1f411106bdc639ce6858095775c3a (diff) |
CLOCKSOURCE: versatile: Add PLAT_VERSATILE dependency
GENERIC_SCHED_CLOCK can be selected by architectures other than ARM. The
current dependencies of CLKSRC_VERSATILE make it possible that other
architectures will have CLKSRC_VERSATILE available in configuration once
they select GENERIC_SCHED_CLOCK, whereas this clock source should be solely
available to ARM in reality.
This patch adds one more dependency to CLKSRC_VERSATILE to fix the issue.
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Reported-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: LKML <linux-kernel@vger.kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9476/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | drivers/clocksource/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 68161f7a07d6..7e7146f735c6 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig | |||
@@ -230,7 +230,7 @@ config CLKSRC_QCOM | |||
230 | 230 | ||
231 | config CLKSRC_VERSATILE | 231 | config CLKSRC_VERSATILE |
232 | bool "ARM Versatile (Express) reference platforms clock source" | 232 | bool "ARM Versatile (Express) reference platforms clock source" |
233 | depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET | 233 | depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET |
234 | select CLKSRC_OF | 234 | select CLKSRC_OF |
235 | default y if MFD_VEXPRESS_SYSREG | 235 | default y if MFD_VEXPRESS_SYSREG |
236 | help | 236 | help |