Skip to content

Commit

Permalink
[ARM] 4064/1: make pxa_get_cycles() static
Browse files Browse the repository at this point in the history
... and fix a comment as well.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Nicolas Pitre authored and Russell King committed Dec 30, 2006
1 parent 2ca2c57 commit 35108fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm/mach-pxa/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static struct irqaction pxa_timer_irq = {
.handler = pxa_timer_interrupt,
};

cycle_t pxa_get_cycles(void)
static cycle_t pxa_get_cycles(void)
{
return OSCR;
}
Expand Down Expand Up @@ -134,13 +134,13 @@ static void __init pxa_timer_init(void)
OSMR0 = OSCR + LATCH; /* set initial match */
local_irq_restore(flags);

/* on PXA OSCR runs continiously and is not written to, so we can use it
* as clock source directly.
/*
* OSCR runs continuously on PXA and is not written to,
* so we can use it as clock source directly.
*/
clocksource_pxa.mult =
clocksource_hz2mult(CLOCK_TICK_RATE, clocksource_pxa.shift);
clocksource_register(&clocksource_pxa);

}

#ifdef CONFIG_NO_IDLE_HZ
Expand Down

0 comments on commit 35108fb

Please sign in to comment.