diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-04-27 23:58:13 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-09 22:44:38 -0400 |
commit | 4e04691bc600b53f6aab63404e58fae3bdf8e310 (patch) | |
tree | e38f054ccb1ed1eb49315a2da15851009229c163 /arch/arm/plat-samsung/include | |
parent | e561aacc70716ff59b9359ba8f010609ee757241 (diff) |
ARM: SAMSUNG: Add s3c_disable_clocks() and tidy init+disable usage
Add s3c_disable_clocks() and change the clock registration code to use
the s3c_register_clocks() followed by s3c_disable_clocks() instead of
the loops it was using.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h index 60b62692ac7a..12caf48a6bdc 100644 --- a/arch/arm/plat-samsung/include/plat/clock.h +++ b/arch/arm/plat-samsung/include/plat/clock.h | |||
@@ -91,6 +91,7 @@ extern int s3c24xx_register_clock(struct clk *clk); | |||
91 | extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks); | 91 | extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks); |
92 | 92 | ||
93 | extern void s3c_register_clocks(struct clk *clk, int nr_clks); | 93 | extern void s3c_register_clocks(struct clk *clk, int nr_clks); |
94 | extern void s3c_disable_clocks(struct clk *clkp, int nr_clks); | ||
94 | 95 | ||
95 | extern int s3c24xx_register_baseclocks(unsigned long xtal); | 96 | extern int s3c24xx_register_baseclocks(unsigned long xtal); |
96 | 97 | ||