diff options
Diffstat (limited to 'arch/arm/mach-ns9xxx/time-ns9360.c')
-rw-r--r-- | arch/arm/mach-ns9xxx/time-ns9360.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-ns9xxx/time-ns9360.c b/arch/arm/mach-ns9xxx/time-ns9360.c index 77281260358a..9ca32f55728b 100644 --- a/arch/arm/mach-ns9xxx/time-ns9360.c +++ b/arch/arm/mach-ns9xxx/time-ns9360.c | |||
@@ -35,7 +35,6 @@ static struct clocksource ns9360_clocksource = { | |||
35 | .rating = 300, | 35 | .rating = 300, |
36 | .read = ns9360_clocksource_read, | 36 | .read = ns9360_clocksource_read, |
37 | .mask = CLOCKSOURCE_MASK(32), | 37 | .mask = CLOCKSOURCE_MASK(32), |
38 | .shift = 20, | ||
39 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 38 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
40 | }; | 39 | }; |
41 | 40 | ||
@@ -148,10 +147,7 @@ static void __init ns9360_timer_init(void) | |||
148 | 147 | ||
149 | __raw_writel(tc, SYS_TC(TIMER_CLOCKSOURCE)); | 148 | __raw_writel(tc, SYS_TC(TIMER_CLOCKSOURCE)); |
150 | 149 | ||
151 | ns9360_clocksource.mult = clocksource_hz2mult(ns9360_cpuclock(), | 150 | clocksource_register_hz(&ns9360_clocksource, ns9360_cpuclock()); |
152 | ns9360_clocksource.shift); | ||
153 | |||
154 | clocksource_register(&ns9360_clocksource); | ||
155 | 151 | ||
156 | latch = SH_DIV(ns9360_cpuclock(), HZ, 0); | 152 | latch = SH_DIV(ns9360_cpuclock(), HZ, 0); |
157 | 153 | ||