clocksource: sh_cmt: compute mult and shift before registration
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:10:44 +0000 (17:10 +0900)
commitf4d7c3565c1692c54d9152b52090fe73f0029e37
tree1bda3fdcdd3b706542f9464aed84d346fa5fab25
parent66f49121ffa41a19c59965b31b046d8368fec3c7
clocksource: sh_cmt: compute mult and shift before registration

Based on the sh_tmu change in 66f49121ffa41a19c59965b31b046d8368fec3c7
("clocksource: sh_tmu: compute mult and shift before registration").
The same issues impact the sh_cmt driver, so we take the same approach
here.

Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/clocksource/sh_cmt.c