Skip to content

Commit

Permalink
Blackfin arch: add __init markings to Blackfin timer init functions
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jan 7, 2009
1 parent 71f5ca3 commit a1ee74c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/blackfin/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit a1ee74c

Please sign in to comment.