summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-01-07 16:14:38 +0100
committerBryan Wu <cooloney@kernel.org>2009-01-07 16:14:38 +0100
commita1ee74ca09cb8c5929bab0b16e0c58e7c85b9414 (patch)
tree07d01fc055c788a306faa5b2be2c2f4208a225db /arch/blackfin
parentBlackfin arch: add get_dma_config() func to match set_dma_config() (diff)
downloadlinux-a1ee74ca09cb8c5929bab0b16e0c58e7c85b9414.tar.xz
linux-a1ee74ca09cb8c5929bab0b16e0c58e7c85b9414.zip
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/blackfin')
-rw-r--r--arch/blackfin/kernel/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c
index 2ed440b773dc..ec4dfa38eb0a 100644
--- a/arch/blackfin/kernel/time.c
+++ b/arch/blackfin/kernel/time.c
@@ -32,7 +32,7 @@ static struct irqaction bfin_timer_irq = {
};
#ifdef CONFIG_TICK_SOURCE_SYSTMR0
-void setup_system_timer0(void)
+void __init setup_system_timer0(void)
{
/* Power down the core timer, just to play safe. */
bfin_write_TCNTL(0);
@@ -49,7 +49,7 @@ void setup_system_timer0(void)
enable_gptimers(TIMER0bit);
}
#else
-void setup_core_timer(void)
+void __init setup_core_timer(void)
{
u32 tcount;
@@ -71,7 +71,7 @@ void setup_core_timer(void)
}
#endif
-static void
+static void __init
time_sched_init(irqreturn_t(*timer_routine) (int, void *))
{
#ifdef CONFIG_TICK_SOURCE_SYSTMR0