diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-01-07 10:14:38 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:38 -0500 |
commit | a1ee74ca09cb8c5929bab0b16e0c58e7c85b9414 (patch) | |
tree | 07d01fc055c788a306faa5b2be2c2f4208a225db /arch | |
parent | 71f5ca35d5aa1c27920c2a223993bef551c723b5 (diff) |
Blackfin arch: add __init markings to Blackfin timer init functions
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/kernel/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index 2ed440b773d..ec4dfa38eb0 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -32,7 +32,7 @@ static struct irqaction bfin_timer_irq = { | |||
32 | }; | 32 | }; |
33 | 33 | ||
34 | #ifdef CONFIG_TICK_SOURCE_SYSTMR0 | 34 | #ifdef CONFIG_TICK_SOURCE_SYSTMR0 |
35 | void setup_system_timer0(void) | 35 | void __init setup_system_timer0(void) |
36 | { | 36 | { |
37 | /* Power down the core timer, just to play safe. */ | 37 | /* Power down the core timer, just to play safe. */ |
38 | bfin_write_TCNTL(0); | 38 | bfin_write_TCNTL(0); |
@@ -49,7 +49,7 @@ void setup_system_timer0(void) | |||
49 | enable_gptimers(TIMER0bit); | 49 | enable_gptimers(TIMER0bit); |
50 | } | 50 | } |
51 | #else | 51 | #else |
52 | void setup_core_timer(void) | 52 | void __init setup_core_timer(void) |
53 | { | 53 | { |
54 | u32 tcount; | 54 | u32 tcount; |
55 | 55 | ||
@@ -71,7 +71,7 @@ void setup_core_timer(void) | |||
71 | } | 71 | } |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | static void | 74 | static void __init |
75 | time_sched_init(irqreturn_t(*timer_routine) (int, void *)) | 75 | time_sched_init(irqreturn_t(*timer_routine) (int, void *)) |
76 | { | 76 | { |
77 | #ifdef CONFIG_TICK_SOURCE_SYSTMR0 | 77 | #ifdef CONFIG_TICK_SOURCE_SYSTMR0 |