ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER
authorIgor Grinberg <grinberg@compulab.co.il>
Mon, 27 Aug 2012 22:26:14 +0000 (01:26 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 30 Aug 2012 20:19:03 +0000 (13:19 -0700)
commit45caae74d238ef6583e9402cb8c550cc0b0f7dbd
tree1521a205ddd0129b1bf28d000003d692e3c80b02
parentfea7a08acb13524b47711625eebea40a0ede69a0
ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER

Currently, omap2_sync32k_clocksource_init() function initializes the 32K
timer as the system clock source regardless of the CONFIG_OMAP_32K_TIMER
setting.
Fix this by providing a default implementation for
!CONFIG_OMAP_32K_TIMER case.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c