MIPS: Alchemy: move calc_clock function.
commit2699cdfb765c3b7d77d28ea3bc7d84e486697177
authorManuel Lauss <mano@roarinelk.homelinux.net>
Sun, 21 Dec 2008 08:26:24 +0000 (21 09:26 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 11 Jan 2009 09:57:27 +0000 (11 09:57 +0000)
tree690eb6e847c7acfc0a5693a385907da480f33fd8
parent0c694de12b54fa96b9555e07603f567906ce21c8
MIPS: Alchemy: move calc_clock function.

Now that nothing in time.c depends on calc_clock, it can
be moved to clocks.c where it belongs.
While at it, give it a better non-generic name and call it
as soon as possible in plat_mem_init.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/clocks.c
arch/mips/alchemy/common/setup.c
arch/mips/alchemy/common/time.c
arch/mips/include/asm/mach-au1x00/au1000.h