Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225813
b: refs/heads/master
c: 5975f49
h: refs/heads/master
i:
  225811: ffe7a4b
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent bc95a12 commit 09566e7
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: 594cbf2f4ceaaacc706eb1302ff139a61092ec6f
refs/heads/master: 5975f496e07e0f1e396939308b815f99907440ea
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-mmp/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ static cycle_t clksrc_read(struct clocksource *cs)

static struct clocksource cksrc = {
.name = "clocksource",
.shift = 20,
.rating = 200,
.read = clksrc_read,
.mask = CLOCKSOURCE_MASK(32),
Expand Down Expand Up @@ -193,10 +192,8 @@ void __init timer_init(int irq)
ckevt.min_delta_ns = clockevent_delta2ns(MIN_DELTA, &ckevt);
ckevt.cpumask = cpumask_of(0);

cksrc.mult = clocksource_hz2mult(CLOCK_TICK_RATE, cksrc.shift);

setup_irq(irq, &timer_irq);

clocksource_register(&cksrc);
clocksource_register_hz(&cksrc, CLOCK_TICK_RATE);
clockevents_register_device(&ckevt);
}

0 comments on commit 09566e7

Please sign in to comment.