[PATCH] ARM: nomadik: fix clocksource warning

Olof Johansson olof at lixom.net
Sat Jun 1 02:47:02 EDT 2013


On Fri, May 31, 2013 at 05:49:28PM +0200, Arnd Bergmann wrote:
> The clocksource API has changed slightly, which causes a harmless
> warning:
> 
> /git/arm-soc/drivers/clocksource/nomadik-mtu.c:259:28: warning: 'nmdk_timer_match' defined but not used [-Wunused-variable]
>  static struct of_device_id nmdk_timer_match[] __initconst = {
>                             ^
> 
> Fortunately, the same API change also lets us simplify the code
> while removing the warning.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> 
> ---
> 
> I've applied this patch on top of next/dt to remove the warning introduced
> by Linus' patch.

I didn't see that make it to the repo though?

Since you'd have to rebase anyway, I'll just apply it here and will
include it with the other branch updates.


-Olof



More information about the linux-arm-kernel mailing list