Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225826
b: refs/heads/master
c: 8492fd2
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent 68f5ef1 commit d0cfb1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 509e1f0fd7627a5b8d2da9e8c2b4ab1c2743c5f6
refs/heads/master: 8492fd28987732e42f33a3711299927e8905d448
3 changes: 1 addition & 2 deletions trunk/arch/arm/plat-nomadik/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ void __init nmdk_timer_init(void)
} else {
cr |= MTU_CRn_PRESCALE_1;
}
clocksource_calc_mult_shift(&nmdk_clksrc, rate, MTU_MIN_RANGE);

/* Timer 0 is the free running clocksource */
writel(cr, mtu_base + MTU_CR(0));
Expand All @@ -233,7 +232,7 @@ void __init nmdk_timer_init(void)
/* Now the clock source is ready */
nmdk_clksrc.read = nmdk_read_timer;

if (clocksource_register(&nmdk_clksrc))
if (clocksource_register_hz(&nmdk_clksrc, rate))
pr_err("timer: failed to initialize clock source %s\n",
nmdk_clksrc.name);

Expand Down

0 comments on commit d0cfb1d

Please sign in to comment.