sh: move sh clock.c contents to drivers/sh/clk.
authorMagnus Damm <damm@opensource.se>
Tue, 11 May 2010 13:29:25 +0000 (13:29 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 13 May 2010 08:39:14 +0000 (17:39 +0900)
commit8b5ee113e1b97097e992a0301d0cac2530b31fc2
treea51016a7cd0cc138354fd221040c883da8731d54
parentd28bdf05f72238d626c8d06b61049f6df8d78e70
sh: move sh clock.c contents to drivers/sh/clk.

This patch is V2 of the SH clock framework move from
arch/sh/kernel/cpu/clock.c to drivers/sh/clk.c. All
code except the following functions are moved:
clk_init(), clk_get() and clk_put().

The init function is still kept in clock.c since it
depends on the SH-specific machvec implementation.

The symbols clk_get() and clk_put() already exist in
the common ARM clkdev code, those symbols are left in
the SH tree to avoid duplicating them for SH-Mobile ARM.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/clock.h
arch/sh/kernel/cpu/clock.c
drivers/sh/Makefile
drivers/sh/clk.c [new file with mode: 0644]
include/linux/sh_clk.h