]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson1B: use common clock infrastructure instead of private APIs
authorKelvin Cheung <keguang.zhang@gmail.com>
Tue, 23 Oct 2012 05:17:00 +0000 (05:17 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 9 Nov 2012 10:37:20 +0000 (11:37 +0100)
commit40504a350c5503353b2e5bb10881390df54e5b48
tree6db9edc67a722d391c7ae3dfc4796b60d02d63e1
parent86a76593e9500fd7a3a2eb8a5840c94bf6a5639a
MIPS: Loongson1B: use common clock infrastructure instead of private APIs

Use common clock infrastructure instead of private APIs.
1. Enable COMMON_CLK in the Kconfig.
2. Remove private clock APIs, which are replaced by the code in
   drivers/clk/clk-ls1x.c.
3. Modify header file for drivers/clk/clk-ls1x.c.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4431
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/include/asm/mach-loongson1/platform.h
arch/mips/include/asm/mach-loongson1/regs-clk.h
arch/mips/loongson1/Kconfig
arch/mips/loongson1/common/clock.c