Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225829
b: refs/heads/master
c: 2218543
h: refs/heads/master
i:
  225827: cc3dbe0
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent 3b5b5e0 commit 1dcf090
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: 1d0ac3cdf3d31ba84499c3a914aa2b54eecbf2af
refs/heads/master: 2218543fe0c40ce36fa165c5003072cc8b236c34
5 changes: 1 addition & 4 deletions trunk/arch/arm/plat-stmp3xxx/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ static struct clocksource cksrc_stmp3xxx = {
.rating = 250,
.read = stmp3xxx_clock_read,
.mask = CLOCKSOURCE_MASK(16),
.shift = 10,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand All @@ -106,8 +105,6 @@ static struct irqaction stmp3xxx_timer_irq = {
*/
static void __init stmp3xxx_init_timer(void)
{
cksrc_stmp3xxx.mult = clocksource_hz2mult(CLOCK_TICK_RATE,
cksrc_stmp3xxx.shift);
ckevt_timrot.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC,
ckevt_timrot.shift);
ckevt_timrot.min_delta_ns = clockevent_delta2ns(2, &ckevt_timrot);
Expand Down Expand Up @@ -140,7 +137,7 @@ static void __init stmp3xxx_init_timer(void)

setup_irq(IRQ_TIMER0, &stmp3xxx_timer_irq);

clocksource_register(&cksrc_stmp3xxx);
clocksource_register_hz(&cksrc_stmp3xxx, CLOCK_TICK_RATE);
clockevents_register_device(&ckevt_timrot);
}

Expand Down

0 comments on commit 1dcf090

Please sign in to comment.