diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-10-30 20:07:25 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-11-08 15:21:34 +0900 |
commit | 9ee8008e99b36fff6a06c41a76594dd1b9a0677a (patch) | |
tree | 5911821f1d4fc749987b41b4daa5cc82dd206440 /arch/arm/mach-shmobile/board-mackerel.c | |
parent | 9d626eccb1de90a310f3fb9bc5e8803706be1a95 (diff) | |
download | op-kernel-dev-9ee8008e99b36fff6a06c41a76594dd1b9a0677a.zip op-kernel-dev-9ee8008e99b36fff6a06c41a76594dd1b9a0677a.tar.gz |
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.c | 2 |
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 0c27c81..c826d77 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) static int fsi_b_set_rate(struct device *dev, int rate, int enable) { struct clk *fsib_clk; - struct clk *fdiv_clk = &sh7372_fsidivb_clk; + struct clk *fdiv_clk = clk_get(NULL, "fsidivb"); long fsib_rate = 0; long fdiv_rate = 0; int ackmd_bpfmd; |