Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225809
b: refs/heads/master
c: 7c044be
h: refs/heads/master
i:
  225807: dac4eba
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent 303fb55 commit ccb297d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 6eda51192fb1c767f792e92c67b9a4fd73c1fcba
refs/heads/master: 7c044be50d4bdc33e039a65956b8a927feecaaa3
7 changes: 2 additions & 5 deletions trunk/arch/arm/mach-davinci/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ static struct clocksource clocksource_davinci = {
.rating = 300,
.read = read_cycles,
.mask = CLOCKSOURCE_MASK(32),
.shift = 24,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand Down Expand Up @@ -378,10 +377,8 @@ static void __init davinci_timer_init(void)

/* setup clocksource */
clocksource_davinci.name = id_to_name[clocksource_id];
clocksource_davinci.mult =
clocksource_khz2mult(davinci_clock_tick_rate/1000,
clocksource_davinci.shift);
if (clocksource_register(&clocksource_davinci))
if (clocksource_register_hz(&clocksource_davinci,
davinci_clock_tick_rate))
printk(err, clocksource_davinci.name);

/* setup clockevent */
Expand Down

0 comments on commit ccb297d

Please sign in to comment.