summaryrefslogtreecommitdiff
path: root/arch/arm/plat-s5pc1xx
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2010-01-14 06:50:23 +0300
committerBen Dooks <ben-linux@fluff.org>2010-01-15 11:10:12 +0300
commited276849bc6a8ad5bb0f9fa94fe8305ee67bb6c6 (patch)
tree03ddcf6c93fb2f226eb7ab77c3328764f365a777 /arch/arm/plat-s5pc1xx
parent14235696d401e62f8f5740ca2fb917ab42b9fd18 (diff)
downloadlinux-ed276849bc6a8ad5bb0f9fa94fe8305ee67bb6c6.tar.xz
ARM: SAMSUNG: Make clk_default_setrate and clk_ops_def_setrate visible
This patch makes clk_default_setrate and clk_ops_def_setrate available to code outside plat-samsung clock code. Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s5pc1xx')
-rw-r--r--arch/arm/plat-s5pc1xx/clock.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/arm/plat-s5pc1xx/clock.c b/arch/arm/plat-s5pc1xx/clock.c
index 0aff16d1cc2c..aec0305174aa 100644
--- a/arch/arm/plat-s5pc1xx/clock.c
+++ b/arch/arm/plat-s5pc1xx/clock.c
@@ -64,16 +64,6 @@ struct clk clk_54m = {
.rate = 54000000,
};
-static int clk_default_setrate(struct clk *clk, unsigned long rate)
-{
- clk->rate = rate;
- return 0;
-}
-
-static struct clk_ops clk_ops_default_setrate = {
- .set_rate = clk_default_setrate,
-};
-
static int clk_dummy_enable(struct clk *clk, int enable)
{
return 0;
@@ -86,7 +76,7 @@ struct clk clk_hd0 = {
.parent = NULL,
.ctrlbit = 0,
.enable = clk_dummy_enable,
- .ops = &clk_ops_default_setrate,
+ .ops = &clk_ops_def_setrate,
};
struct clk clk_pd0 = {
@@ -95,7 +85,7 @@ struct clk clk_pd0 = {
.rate = 0,
.parent = NULL,
.ctrlbit = 0,
- .ops = &clk_ops_default_setrate,
+ .ops = &clk_ops_def_setrate,
.enable = clk_dummy_enable,
};