aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/time.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-12-22 18:36:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-12-30 17:05:06 +0000
commit35108fb9b3f291b594a8019cb9188da6be2f7990 (patch)
tree3948ff01a0f0efb5e0c4b843d1222b2c348a1dc6 /arch/arm/mach-pxa/time.c
parent[ARM] 4063/1: ep93xx: fix IRQ_EP93XX_GPIO?MUX numbering (diff)
downloadlinux-dev-35108fb9b3f291b594a8019cb9188da6be2f7990.tar.xz
linux-dev-35108fb9b3f291b594a8019cb9188da6be2f7990.zip
[ARM] 4064/1: make pxa_get_cycles() static
... 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>
Diffstat (limited to 'arch/arm/mach-pxa/time.c')
-rw-r--r--arch/arm/mach-pxa/time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c
index 3775b8f38429..ee2beb400414 100644
--- a/arch/arm/mach-pxa/time.c
+++ b/arch/arm/mach-pxa/time.c
@@ -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;
}
@@ -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