clock: redefine variable clocks_per_pll as a struct member
authorTang Yuantian <Yuantian.Tang@freescale.com>
Thu, 15 Jan 2015 06:03:40 +0000 (14:03 +0800)
committerMichael Turquette <mturquette@linaro.org>
Tue, 20 Jan 2015 18:09:10 +0000 (10:09 -0800)
commit57bfd7ee6fa9811481e6d67ff18aa90951dd974e
tree94f029d7ed9a6c76fad7e48ed05db98702115715
parent11144283123355d232e3565b224730315b8c3c72
clock: redefine variable clocks_per_pll as a struct member

redefine variable clocks_per_pll as a struct member

If there are multiple PLL clock nodes, this variable will
get overwritten. Redefining it as a struct member can avoid that.

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-ppc-corenet.c