diff options
Diffstat (limited to 'arch/arm/common/timer-sp.c')
-rw-r--r-- | arch/arm/common/timer-sp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index 4740313daa5b..6ef3342153b9 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c | |||
@@ -44,7 +44,6 @@ static struct clocksource clocksource_sp804 = { | |||
44 | .rating = 200, | 44 | .rating = 200, |
45 | .read = sp804_read, | 45 | .read = sp804_read, |
46 | .mask = CLOCKSOURCE_MASK(32), | 46 | .mask = CLOCKSOURCE_MASK(32), |
47 | .shift = 20, | ||
48 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 47 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
49 | }; | 48 | }; |
50 | 49 | ||
@@ -61,8 +60,7 @@ void __init sp804_clocksource_init(void __iomem *base) | |||
61 | writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC, | 60 | writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC, |
62 | clksrc_base + TIMER_CTRL); | 61 | clksrc_base + TIMER_CTRL); |
63 | 62 | ||
64 | cs->mult = clocksource_khz2mult(TIMER_FREQ_KHZ, cs->shift); | 63 | clocksource_register_khz(cs, TIMER_FREQ_KHZ); |
65 | clocksource_register(cs); | ||
66 | } | 64 | } |
67 | 65 | ||
68 | 66 | ||