[GIT PULL] ux500-timers
From: Linus Walleij <hidden>
Date: 2011-10-03 07:38:07
On Sat, Oct 1, 2011 at 6:00 PM, Arnd Bergmann [off-list ref] wrote:
It caused a few build regressions: - missing include of errno.h - clksrc_dbx500_prcmu_init stub needs to be static inline, or it causes a ?link failure.
Sorry about this crap I'll be looking closer next time :-(
- clksrc_dbx500_timer_base may be initialized when it's not actually linked in For the last one, I think it would actually be best to make the timer a platform_device and pass the address in platform_data or device tree property, or alternatively make it an argument to clksrc_dbx500_prcmu_init and make the variable static.
I chose the latter approach.
Please send a new pull request with these things fixed, either with patches on top or replacing the original ones, whichever you prefer.
I have applied a hacked version of your patch like this: