aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-mackerel.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-10-30 23:07:25 -0400
committerSimon Horman <horms@verge.net.au>2012-11-08 01:21:34 -0500
commit9ee8008e99b36fff6a06c41a76594dd1b9a0677a (patch)
tree5911821f1d4fc749987b41b4daa5cc82dd206440 /arch/arm/mach-shmobile/board-mackerel.c
parent9d626eccb1de90a310f3fb9bc5e8803706be1a95 (diff)
ARM: shmobile: sh7372: sh7372_fsidivX_clk become non-global
Not only sh7372 but also many Renesas chip has FSI-DIV clock, and we can share its sh_clk_ops. To support common FSI-DIV clock, sh7372_fsidivX_clk becomes non-global by this patch. This is preparation for FSI DT support. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 0c27c810cf99..c826d77ab8a6 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -882,7 +882,7 @@ static int __fsi_set_round_rate(struct clk *clk, long rate, int enable)
882static int fsi_b_set_rate(struct device *dev, int rate, int enable) 882static int fsi_b_set_rate(struct device *dev, int rate, int enable)
883{ 883{
884 struct clk *fsib_clk; 884 struct clk *fsib_clk;
885 struct clk *fdiv_clk = &sh7372_fsidivb_clk; 885 struct clk *fdiv_clk = clk_get(NULL, "fsidivb");
886 long fsib_rate = 0; 886 long fsib_rate = 0;
887 long fdiv_rate = 0; 887 long fdiv_rate = 0;
888 int ackmd_bpfmd; 888 int ackmd_bpfmd;