Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225828
b: refs/heads/master
c: 1d0ac3c
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent cc3dbe0 commit 3b5b5e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: e0387320c32d4b9852e6436233274003e82318a6
refs/heads/master: 1d0ac3cdf3d31ba84499c3a914aa2b54eecbf2af
4 changes: 1 addition & 3 deletions trunk/arch/arm/plat-orion/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ static cycle_t orion_clksrc_read(struct clocksource *cs)

static struct clocksource orion_clksrc = {
.name = "orion_clocksource",
.shift = 20,
.rating = 300,
.read = orion_clksrc_read,
.mask = CLOCKSOURCE_MASK(32),
Expand Down Expand Up @@ -245,8 +244,7 @@ void __init orion_time_init(unsigned int irq, unsigned int tclk)
writel(u & ~BRIDGE_INT_TIMER0, BRIDGE_MASK);
u = readl(TIMER_CTRL);
writel(u | TIMER0_EN | TIMER0_RELOAD_EN, TIMER_CTRL);
orion_clksrc.mult = clocksource_hz2mult(tclk, orion_clksrc.shift);
clocksource_register(&orion_clksrc);
clocksource_register_hz(&orion_clksrc, tclk);

/*
* Setup clockevent timer (interrupt-driven.)
Expand Down

0 comments on commit 3b5b5e0

Please sign in to comment.