| From f60efe916f290bb106e6578b3653af1f253f2dc6 Mon Sep 17 00:00:00 2001 |
| From: Magnus Damm <damm@opensource.se> |
| Date: Wed, 29 Feb 2012 22:16:52 +0900 |
| Subject: ARM: mach-shmobile: sh73a0 sh_clk_ops rename |
| |
| Convert sh73a0 to use sh_clk_ops. |
| |
| Signed-off-by: Magnus Damm <damm@opensource.se> |
| Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> |
| (cherry picked from commit 7bcda508bfd9715c1a6a0589107c8c9d508f732e) |
| |
| Signed-off-by: Simon Horman <horms@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/clock-sh73a0.c | 12 ++++++------ |
| 1 file changed, 6 insertions(+), 6 deletions(-) |
| |
| diff --git a/arch/arm/mach-shmobile/clock-sh73a0.c b/arch/arm/mach-shmobile/clock-sh73a0.c |
| index 4d8d140..41f8293 100644 |
| --- a/arch/arm/mach-shmobile/clock-sh73a0.c |
| +++ b/arch/arm/mach-shmobile/clock-sh73a0.c |
| @@ -88,7 +88,7 @@ static unsigned long div2_recalc(struct clk *clk) |
| return clk->parent->rate / 2; |
| } |
| |
| -static struct clk_ops div2_clk_ops = { |
| +static struct sh_clk_ops div2_clk_ops = { |
| .recalc = div2_recalc, |
| }; |
| |
| @@ -97,7 +97,7 @@ static unsigned long div7_recalc(struct clk *clk) |
| return clk->parent->rate / 7; |
| } |
| |
| -static struct clk_ops div7_clk_ops = { |
| +static struct sh_clk_ops div7_clk_ops = { |
| .recalc = div7_recalc, |
| }; |
| |
| @@ -106,7 +106,7 @@ static unsigned long div13_recalc(struct clk *clk) |
| return clk->parent->rate / 13; |
| } |
| |
| -static struct clk_ops div13_clk_ops = { |
| +static struct sh_clk_ops div13_clk_ops = { |
| .recalc = div13_recalc, |
| }; |
| |
| @@ -122,7 +122,7 @@ static struct clk extal2_div2_clk = { |
| .parent = &sh73a0_extal2_clk, |
| }; |
| |
| -static struct clk_ops main_clk_ops = { |
| +static struct sh_clk_ops main_clk_ops = { |
| .recalc = followparent_recalc, |
| }; |
| |
| @@ -155,7 +155,7 @@ static unsigned long pll_recalc(struct clk *clk) |
| return clk->parent->rate * mult; |
| } |
| |
| -static struct clk_ops pll_clk_ops = { |
| +static struct sh_clk_ops pll_clk_ops = { |
| .recalc = pll_recalc, |
| }; |
| |
| @@ -437,7 +437,7 @@ static int dsiphy_set_rate(struct clk *clk, unsigned long rate) |
| return 0; |
| } |
| |
| -static struct clk_ops dsiphy_clk_ops = { |
| +static struct sh_clk_ops dsiphy_clk_ops = { |
| .recalc = dsiphy_recalc, |
| .round_rate = dsiphy_round_rate, |
| .set_rate = dsiphy_set_rate, |
| -- |
| 1.7.10.2.565.gbd578b5 |
| |