[PATCH] clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE

2015-10-16 Thread Felipe Balbi
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 
---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] clocksource: ti-32k: make it depend on GENERIC_CLOCKSOURCE

2015-10-16 Thread Tony Lindgren
* Felipe Balbi  [151016 14:17]:
> 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.

Thanks applying this on omap-for-v4.4/soc.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html