summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-10-16 23:10:05 +0200
committerTony Lindgren <tony@atomide.com>2015-10-16 23:25:46 +0200
commitdfedaf105d602a4b30a43c188596418ecf3a3b26 (patch)
tree12b28e91c0da39b601abcfd457367d2605e1df67 /drivers/clocksource/Kconfig
parentMerge branch 'for-tony' of git://git.kernel.org/pub/scm/linux/kernel/git/balb... (diff)
downloadlinux-dfedaf105d602a4b30a43c188596418ecf3a3b26.tar.xz
linux-dfedaf105d602a4b30a43c188596418ecf3a3b26.zip
clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE
the new ti 32k clocksource driver should depend on GENERIC_CLOCKSOURCE because of its reliance on sched_clock_register(). Let's enable that to avoid any possible build errors and/or warnings on randbuilds. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to '')
-rw-r--r--drivers/clocksource/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 98b2a9b9bfad..3a1efa3fd88d 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -117,6 +117,7 @@ config CLKSRC_PISTACHIO
config CLKSRC_TI_32K
bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
+ depends on GENERIC_SCHED_CLOCK
select CLKSRC_OF if OF
help
This option enables support for Texas Instruments 32.768 Hz clocksource