diff options
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200_time.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c index 2500f41d8d2d..1dd69c85dfec 100644 --- a/arch/arm/mach-at91/at91rm9200_time.c +++ b/arch/arm/mach-at91/at91rm9200_time.c | |||
@@ -101,7 +101,6 @@ static struct clocksource clk32k = { | |||
101 | .rating = 150, | 101 | .rating = 150, |
102 | .read = read_clk32k, | 102 | .read = read_clk32k, |
103 | .mask = CLOCKSOURCE_MASK(20), | 103 | .mask = CLOCKSOURCE_MASK(20), |
104 | .shift = 10, | ||
105 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 104 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
106 | }; | 105 | }; |
107 | 106 | ||
@@ -201,8 +200,7 @@ void __init at91rm9200_timer_init(void) | |||
201 | clockevents_register_device(&clkevt); | 200 | clockevents_register_device(&clkevt); |
202 | 201 | ||
203 | /* register clocksource */ | 202 | /* register clocksource */ |
204 | clk32k.mult = clocksource_hz2mult(AT91_SLOW_CLOCK, clk32k.shift); | 203 | clocksource_register_hz(&clk32k, AT91_SLOW_CLOCK); |
205 | clocksource_register(&clk32k); | ||
206 | } | 204 | } |
207 | 205 | ||
208 | struct sys_timer at91rm9200_timer = { | 206 | struct sys_timer at91rm9200_timer = { |