aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-prima2/timer.c')
-rw-r--r--arch/arm/mach-prima2/timer.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-prima2/timer.c b/arch/arm/mach-prima2/timer.c
index d95bf252f694..8c732a5beb7f 100644
--- a/arch/arm/mach-prima2/timer.c
+++ b/arch/arm/mach-prima2/timer.c
@@ -187,7 +187,7 @@ static void __init sirfsoc_clockevent_init(void)
187} 187}
188 188
189/* initialize the kernel jiffy timer source */ 189/* initialize the kernel jiffy timer source */
190static void __init sirfsoc_timer_init(void) 190void __init sirfsoc_timer_init(void)
191{ 191{
192 unsigned long rate; 192 unsigned long rate;
193 struct clk *clk; 193 struct clk *clk;
@@ -226,7 +226,7 @@ static struct of_device_id timer_ids[] = {
226 {}, 226 {},
227}; 227};
228 228
229static void __init sirfsoc_of_timer_map(void) 229void __init sirfsoc_of_timer_map(void)
230{ 230{
231 struct device_node *np; 231 struct device_node *np;
232 const unsigned int *intspec; 232 const unsigned int *intspec;
@@ -245,7 +245,3 @@ static void __init sirfsoc_of_timer_map(void)
245 245
246 of_node_put(np); 246 of_node_put(np);
247} 247}
248
249struct sys_timer sirfsoc_timer = {
250 .init = sirfsoc_timer_init,
251};