diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-07-26 14:49:39 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-09-09 10:42:25 -0400 |
commit | 3d3c6a5f3de2c76b2d6bf96be56dd6fcc2bb2a30 (patch) | |
tree | 5d45488478a44f8fe68ebeb4e2f9b75068f12bfc /arch | |
parent | 52aaac5ae52ad9a7016410ffeedbaf24b722f3a2 (diff) |
ARM: pxa: fix section mismatch warning for pxa_timer_nodt_init
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.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 630fa916bbc6..04b013fbc98f 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(get_clock_tick_rate); | |||
61 | /* | 61 | /* |
62 | * For non device-tree builds, keep legacy timer init | 62 | * For non device-tree builds, keep legacy timer init |
63 | */ | 63 | */ |
64 | void pxa_timer_init(void) | 64 | void __init pxa_timer_init(void) |
65 | { | 65 | { |
66 | pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000), | 66 | pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000), |
67 | get_clock_tick_rate()); | 67 | get_clock_tick_rate()); |