Subject: [PATCHv4] arm: omap2: timer: always define omap4_local_timer_init

From: [email-masked] (Lokesh Vutla)
Date: Wed, 30 Sep 2015 13:11:04 +0530

Hi Felipe,

On Tuesday 29 September 2015 09:45 PM, Felipe Balbi wrote:
> omap4_local_timer_init() can be used by other
> platforms as is. At least AM437x wants to use
> it. Instead of making omap4-only and providing
> a stub for builds without OMAP4, we can just
> make sure that function is always available
> for all SoCs that need it.
You might also want to update init_time function pointer for AM43xx in
board_generic.c or is there any dependency for this patch? With this
patch alone AM43xx only build is broken.

arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x54): undefined
reference to `omap3_gptimer_timer_init'
Makefile:944: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Thanks and regards,
Lokesh