Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225830
b: refs/heads/master
c: 11e718a
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent 1dcf090 commit 7de12c5
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: 2218543fe0c40ce36fa165c5003072cc8b236c34
refs/heads/master: 11e718a6535c0c7a375b24c3ad60a98b988090c8
4 changes: 1 addition & 3 deletions trunk/arch/arm/plat-versatile/timer-sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ static struct clocksource clocksource_sp804 = {
.rating = 200,
.read = sp804_read,
.mask = CLOCKSOURCE_MASK(32),
.shift = 20,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand All @@ -63,8 +62,7 @@ void __init sp804_clocksource_init(void __iomem *base)
writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC,
clksrc_base + TIMER_CTRL);

cs->mult = clocksource_khz2mult(TIMER_FREQ_KHZ, cs->shift);
clocksource_register(cs);
clocksource_register_khz(cs, TIMER_FREQ_KHZ);
}


Expand Down

0 comments on commit 7de12c5

Please sign in to comment.