OSDN Git Service

clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE
authorFelipe Balbi <balbi@ti.com>
Fri, 16 Oct 2015 21:10:05 +0000 (16:10 -0500)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Oct 2015 21:25:46 +0000 (14:25 -0700)
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>
drivers/clocksource/Kconfig

index 98b2a9b..3a1efa3 100644 (file)
@@ -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