[PATCH] arm: at91: fix build-error for board-dt

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Apr 21 07:40:01 EDT 2012


On 12:28 Sat 21 Apr     , Wolfram Sang wrote:
> From: Wolfram Sang <wolfram at the-dreams.de>
> 
> When build-testing i2c-patches, I encountered:
> 
> arch/arm/mach-at91/built-in.o:(.arch.info.init+0x34): undefined reference to `at91sam926x_timer'
> 
> (using allnoconfig and roughly only MACH_AT91SAM_DT enabled)
> 
> Since this boardfile doesn't belong to a specific architecture, directly
> add the only supported timer to compilation.
> 
> Signed-off-by: Wolfram Sang <wolfram at the-dreams.de>
no this is selected by the soc

I do not want the timer be compiled un condtionally

Best Regards,
J.



More information about the linux-arm-kernel mailing list