Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 628f4561 authored by Magnus Damm's avatar Magnus Damm Committed by Rafael J. Wysocki
Browse files

ARM: mach-shmobile: sh7372 sh_clk_ops rename



Convert sh7372 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 9c8c7abc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -89,7 +89,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,
};

@@ -128,7 +128,7 @@ static unsigned long pllc01_recalc(struct clk *clk)
	return clk->parent->rate * mult;
}

static struct clk_ops pllc01_clk_ops = {
static struct sh_clk_ops pllc01_clk_ops = {
	.recalc		= pllc01_recalc,
};

@@ -276,7 +276,7 @@ static int pllc2_set_parent(struct clk *clk, struct clk *parent)
	return 0;
}

static struct clk_ops pllc2_clk_ops = {
static struct sh_clk_ops pllc2_clk_ops = {
	.recalc		= pllc2_recalc,
	.round_rate	= pllc2_round_rate,
	.set_rate	= pllc2_set_rate,
@@ -468,7 +468,7 @@ static int fsidiv_set_rate(struct clk *clk, unsigned long rate)
	return 0;
}

static struct clk_ops fsidiv_clk_ops = {
static struct sh_clk_ops fsidiv_clk_ops = {
	.recalc		= fsidiv_recalc,
	.round_rate	= fsidiv_round_rate,
	.set_rate	= fsidiv_set_rate,