summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/time.c')
-rw-r--r--arch/arm/mach-pxa/time.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c
index ce58bc9acb14..bea19a06b2bf 100644
--- a/arch/arm/mach-pxa/time.c
+++ b/arch/arm/mach-pxa/time.c
@@ -142,7 +142,7 @@ static struct irqaction pxa_ost0_irq = {
.dev_id = &ckevt_pxa_osmr0,
};
-static void __init pxa_timer_init(void)
+void __init pxa_timer_init(void)
{
unsigned long clock_tick_rate = get_clock_tick_rate();
@@ -164,7 +164,3 @@ static void __init pxa_timer_init(void)
clocksource_mmio_readl_up);
clockevents_register_device(&ckevt_pxa_osmr0);
}
-
-struct sys_timer pxa_timer = {
- .init = pxa_timer_init,
-};