Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225827
b: refs/heads/master
c: e038732
h: refs/heads/master
i:
  225825: 68f5ef1
  225823: c6a06be
v: v3
  • Loading branch information
Russell King committed Dec 22, 2010
1 parent d0cfb1d commit cc3dbe0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 8492fd28987732e42f33a3711299927e8905d448
refs/heads/master: e0387320c32d4b9852e6436233274003e82318a6
6 changes: 1 addition & 5 deletions trunk/arch/arm/plat-spear/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ static struct clocksource clksrc = {
.rating = 200, /* its a pretty decent clock */
.read = clocksource_read_cycles,
.mask = 0xFFFF, /* 16 bits */
.mult = 0, /* to be computed */
.shift = 0, /* to be computed */
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand All @@ -105,10 +103,8 @@ static void spear_clocksource_init(void)
val |= CTRL_ENABLE ;
writew(val, gpt_base + CR(CLKSRC));

clocksource_calc_mult_shift(&clksrc, tick_rate, SPEAR_MIN_RANGE);

/* register the clocksource */
clocksource_register(&clksrc);
clocksource_register_hz(&clksrc, tick_rate);
}

static struct clock_event_device clkevt = {
Expand Down

0 comments on commit cc3dbe0

Please sign in to comment.