Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225821
b: refs/heads/master
c: 6b46340
h: refs/heads/master
i:
  225819: 02712a4
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent ea0928d commit 5c5c05a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 2c760b5b52a56e8b92c384dc9611e23fd4980d03
refs/heads/master: 6b46340a18e7552656097119d121b4b42049dde1
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-tcc8k/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ static struct clocksource clocksource_tcc = {
.rating = 200,
.read = tcc_get_cycles,
.mask = CLOCKSOURCE_MASK(32),
.shift = 28,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand Down Expand Up @@ -103,9 +102,7 @@ static int __init tcc_clockevent_init(struct clk *clock)
{
unsigned int c = clk_get_rate(clock);

clocksource_tcc.mult = clocksource_hz2mult(c,
clocksource_tcc.shift);
clocksource_register(&clocksource_tcc);
clocksource_register_hz(&clocksource_tcc, c);

clockevent_tcc.mult = div_sc(c, NSEC_PER_SEC,
clockevent_tcc.shift);
Expand Down

0 comments on commit 5c5c05a

Please sign in to comment.