From: Tony Lindgren Date: Mon, 18 Nov 2013 21:56:48 +0000 (-0800) Subject: ARM: OMAP2+: Fix undefined reference to set_cntfreq X-Git-Tag: omap-for-v3.13/more-fixes-for-merge-window-take2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39cec6222924dfbb5d7f5d2b2f718af34e872add;p=pandora-kernel.git ARM: OMAP2+: Fix undefined reference to set_cntfreq If CONFIG_SOC_HAS_REALTIME_COUNTER is not selected for omap5 or dra7xx, we can get the following error: arch/arm/mach-omap2/built-in.o: In function `omap4_secondary_init': :(.text+0x7ab0): undefined reference to `set_cntfreq' Fix the issue by not trying to initalize the realtime counter unles CONFIG_SOC_HAS_REALTIME_COUNTER is selected. Acked-by: Santosh Shilimkar Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed