aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-netx/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-netx/time.c')
-rw-r--r--arch/arm/mach-netx/time.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-netx/time.c b/arch/arm/mach-netx/time.c
index e24c141ba489..0dee4524494f 100644
--- a/arch/arm/mach-netx/time.c
+++ b/arch/arm/mach-netx/time.c
@@ -107,7 +107,7 @@ static struct irqaction netx_timer_irq = {
107/* 107/*
108 * Set up timer interrupt 108 * Set up timer interrupt
109 */ 109 */
110static void __init netx_timer_init(void) 110void __init netx_timer_init(void)
111{ 111{
112 /* disable timer initially */ 112 /* disable timer initially */
113 writel(0, NETX_GPIO_COUNTER_CTRL(0)); 113 writel(0, NETX_GPIO_COUNTER_CTRL(0));
@@ -151,7 +151,3 @@ static void __init netx_timer_init(void)
151 netx_clockevent.cpumask = cpumask_of(0); 151 netx_clockevent.cpumask = cpumask_of(0);
152 clockevents_register_device(&netx_clockevent); 152 clockevents_register_device(&netx_clockevent);
153} 153}
154
155struct sys_timer netx_timer = {
156 .init = netx_timer_init,
157};