summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/clock.h
diff options
context:
space:
mode:
authorBen Dooks2010-01-05 17:21:38 +0100
committerBen Dooks2010-01-15 09:10:11 +0100
commit1d9f13c49ed750260f40317629bdd66160a3ac16 (patch)
tree3804e6a3fd0f7bf3b9e2869a26de3f018bff596a /arch/arm/plat-samsung/include/plat/clock.h
parentARM: SAMSUNG: Do not allow get/set/round rate calls with no divider (diff)
downloadkernel-qcow2-linux-1d9f13c49ed750260f40317629bdd66160a3ac16.tar.gz
kernel-qcow2-linux-1d9f13c49ed750260f40317629bdd66160a3ac16.tar.xz
kernel-qcow2-linux-1d9f13c49ed750260f40317629bdd66160a3ac16.zip
ARM: SAMSUNG: Add call to register array of clocks
Add s3c_register_clocks() to register an array of clocks, printing an error message if there is a problem. Replace all points in the code where this could be used. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/clock.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h
index 43324af24c6e..bd41f828d15d 100644
--- a/arch/arm/plat-samsung/include/plat/clock.h
+++ b/arch/arm/plat-samsung/include/plat/clock.h
@@ -87,6 +87,8 @@ extern int s3c2410_clkcon_enable(struct clk *clk, int enable);
extern int s3c24xx_register_clock(struct clk *clk);
extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks);
+extern void s3c_register_clocks(struct clk *clk, int nr_clks);
+
extern int s3c24xx_register_baseclocks(unsigned long xtal);
extern void s3c64xx_register_clocks(void);