Commit 3d3c6a5f authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init

commit a38b1f60 ("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.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent 52aaac5a
...@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate); ...@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate);
/* /*
* For non device-tree builds, keep legacy timer init * For non device-tree builds, keep legacy timer init
*/ */
void pxa_timer_init(void) void __init pxa_timer_init(void)
{ {
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000), pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000),
get_clock_tick_rate()); get_clock_tick_rate());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment