[PATCH] tmp - fix clk_def_setrate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Dooks <ben-linux@xxxxxxxxx>

---
 arch/arm/plat-s5pc1xx/clock.c |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/arch/arm/plat-s5pc1xx/clock.c b/arch/arm/plat-s5pc1xx/clock.c
index 0aff16d..aec0305 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,
 };
 
-- 
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux