[PATCH ] ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

Robert Jarzmik robert.jarzmik at free.fr
Sat Jul 26 14:17:55 PDT 2014


Arnd Bergmann <arnd at arndb.de> writes:

> commit a38b1f60b5245a3 ("ARM: pxa: Add non device-tree timer link to
> clocksource") introduced a harmless section mismatch warning for
> all pxa platforms, by introducing a new pxa_timer_init() function
> that is not marked __init but that calls pxa_timer_nodt_init(),
> which is. The function is only called at init time, so it is safe
> to also annotate it this way.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Indeed.

Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list