diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-12-05 16:13:49 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-12-05 16:13:49 -0500 |
commit | 0518469d0a32be1e6dd8850ff274d52d72cdb52d (patch) | |
tree | c13038d099e04208feae565947783cf92ceae9ee /arch/m68k/platform/coldfire/sltimers.c | |
parent | 28a00184be261e3dc152ba0d664a067bbe235b6a (diff) | |
parent | f5a54dd7952e9032785cd1ef0dde72cd61025341 (diff) |
Merge branch 'fortglx/3.3/tip/timers/core' of git://git.linaro.org/people/jstultz/linux into timers/core
Diffstat (limited to 'arch/m68k/platform/coldfire/sltimers.c')
-rw-r--r-- | arch/m68k/platform/coldfire/sltimers.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68k/platform/coldfire/sltimers.c b/arch/m68k/platform/coldfire/sltimers.c index 6a85daf9a7fd..b7f822b552bb 100644 --- a/arch/m68k/platform/coldfire/sltimers.c +++ b/arch/m68k/platform/coldfire/sltimers.c | |||
@@ -114,7 +114,6 @@ static struct clocksource mcfslt_clk = { | |||
114 | .name = "slt", | 114 | .name = "slt", |
115 | .rating = 250, | 115 | .rating = 250, |
116 | .read = mcfslt_read_clk, | 116 | .read = mcfslt_read_clk, |
117 | .shift = 20, | ||
118 | .mask = CLOCKSOURCE_MASK(32), | 117 | .mask = CLOCKSOURCE_MASK(32), |
119 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 118 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
120 | }; | 119 | }; |
@@ -136,8 +135,7 @@ void hw_timer_init(void) | |||
136 | 135 | ||
137 | setup_irq(MCF_IRQ_TIMER, &mcfslt_timer_irq); | 136 | setup_irq(MCF_IRQ_TIMER, &mcfslt_timer_irq); |
138 | 137 | ||
139 | mcfslt_clk.mult = clocksource_hz2mult(MCF_BUSCLK, mcfslt_clk.shift); | 138 | clocksource_register_hz(&mcfslt_clk, MCF_BUSCLK); |
140 | clocksource_register(&mcfslt_clk); | ||
141 | 139 | ||
142 | #ifdef CONFIG_HIGHPROFILE | 140 | #ifdef CONFIG_HIGHPROFILE |
143 | mcfslt_profile_init(); | 141 | mcfslt_profile_init(); |