Commit 7bcda508 authored by Magnus Damm's avatar Magnus Damm Committed by Rafael J. Wysocki

ARM: mach-shmobile: sh73a0 sh_clk_ops rename

Convert sh73a0 to use sh_clk_ops.
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 628f4561
...@@ -88,7 +88,7 @@ static unsigned long div2_recalc(struct clk *clk) ...@@ -88,7 +88,7 @@ static unsigned long div2_recalc(struct clk *clk)
return clk->parent->rate / 2; return clk->parent->rate / 2;
} }
static struct clk_ops div2_clk_ops = { static struct sh_clk_ops div2_clk_ops = {
.recalc = div2_recalc, .recalc = div2_recalc,
}; };
...@@ -97,7 +97,7 @@ static unsigned long div7_recalc(struct clk *clk) ...@@ -97,7 +97,7 @@ static unsigned long div7_recalc(struct clk *clk)
return clk->parent->rate / 7; return clk->parent->rate / 7;
} }
static struct clk_ops div7_clk_ops = { static struct sh_clk_ops div7_clk_ops = {
.recalc = div7_recalc, .recalc = div7_recalc,
}; };
...@@ -106,7 +106,7 @@ static unsigned long div13_recalc(struct clk *clk) ...@@ -106,7 +106,7 @@ static unsigned long div13_recalc(struct clk *clk)
return clk->parent->rate / 13; return clk->parent->rate / 13;
} }
static struct clk_ops div13_clk_ops = { static struct sh_clk_ops div13_clk_ops = {
.recalc = div13_recalc, .recalc = div13_recalc,
}; };
...@@ -122,7 +122,7 @@ static struct clk extal2_div2_clk = { ...@@ -122,7 +122,7 @@ static struct clk extal2_div2_clk = {
.parent = &sh73a0_extal2_clk, .parent = &sh73a0_extal2_clk,
}; };
static struct clk_ops main_clk_ops = { static struct sh_clk_ops main_clk_ops = {
.recalc = followparent_recalc, .recalc = followparent_recalc,
}; };
...@@ -156,7 +156,7 @@ static unsigned long pll_recalc(struct clk *clk) ...@@ -156,7 +156,7 @@ static unsigned long pll_recalc(struct clk *clk)
return clk->parent->rate * mult; return clk->parent->rate * mult;
} }
static struct clk_ops pll_clk_ops = { static struct sh_clk_ops pll_clk_ops = {
.recalc = pll_recalc, .recalc = pll_recalc,
}; };
...@@ -438,7 +438,7 @@ static int dsiphy_set_rate(struct clk *clk, unsigned long rate) ...@@ -438,7 +438,7 @@ static int dsiphy_set_rate(struct clk *clk, unsigned long rate)
return 0; return 0;
} }
static struct clk_ops dsiphy_clk_ops = { static struct sh_clk_ops dsiphy_clk_ops = {
.recalc = dsiphy_recalc, .recalc = dsiphy_recalc,
.round_rate = dsiphy_round_rate, .round_rate = dsiphy_round_rate,
.set_rate = dsiphy_set_rate, .set_rate = dsiphy_set_rate,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment