summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-loongson1/platform.h
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2012-10-23 05:17:00 +0000
committerJohn Crispin <blogic@openwrt.org>2012-11-09 11:37:20 +0100
commit17ded0a89b3b0b6ac626d58d469ef899f21e2d42 (patch)
tree6db9edc67a722d391c7ae3dfc4796b60d02d63e1 /arch/mips/include/asm/mach-loongson1/platform.h
parented21cfe207276e2d2883173399dd0380db372e18 (diff)
downloadblackbird-obmc-linux-17ded0a89b3b0b6ac626d58d469ef899f21e2d42.tar.gz
blackbird-obmc-linux-17ded0a89b3b0b6ac626d58d469ef899f21e2d42.zip
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>
Diffstat (limited to 'arch/mips/include/asm/mach-loongson1/platform.h')
-rw-r--r--arch/mips/include/asm/mach-loongson1/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-loongson1/platform.h b/arch/mips/include/asm/mach-loongson1/platform.h
index 2f171617bade..f584017eb8a7 100644
--- a/arch/mips/include/asm/mach-loongson1/platform.h
+++ b/arch/mips/include/asm/mach-loongson1/platform.h
@@ -18,6 +18,7 @@ extern struct platform_device ls1x_eth0_device;
extern struct platform_device ls1x_ehci_device;
extern struct platform_device ls1x_rtc_device;
+extern void __init ls1x_clk_init(void);
void ls1x_serial_setup(void);
#endif /* __ASM_MACH_LOONGSON1_PLATFORM_H */
OpenPOWER on IntegriCloud