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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Apr 21 10:43:04 EDT 2012


On 16:09 Sat 21 Apr     , Wolfram Sang wrote:
> On Sat, Apr 21, 2012 at 01:40:01PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > 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
> 
> Ok, we can discard this patch and see it as a bug report.
> Since you know best what you'd like, would you send a patch?
I'll fix on 3.5 by make it depends on AT91SAM9

Best Regards,
J.



More information about the linux-arm-kernel mailing list