summaryrefslogtreecommitdiff
path: root/drivers/clk/mmp/clk-frac.c
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2014-10-31 05:13:44 +0300
committerMichael Turquette <mturquette@linaro.org>2014-11-13 03:33:48 +0300
commit3a2b2f84957d3c1e380640e23e438c40c730cfd1 (patch)
treeeb11616d1fcde1adaaf96bf65a4eb4f99a5152bd /drivers/clk/mmp/clk-frac.c
parent0c4c11f3556b244469af32a7bc13485ecbbc77f9 (diff)
downloadlinux-3a2b2f84957d3c1e380640e23e438c40c730cfd1.tar.xz
clk: mmp: move definiton of mmp_clk_frac to clk.h
Move the definition of structure of mmp_clk_frac to clk.h. So device tree support can use this structure. Signed-off-by: Chao Xie <chao.xie@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/mmp/clk-frac.c')
-rw-r--r--drivers/clk/mmp/clk-frac.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/clk/mmp/clk-frac.c b/drivers/clk/mmp/clk-frac.c
index 1876d2c94bd3..eeba52c2def6 100644
--- a/drivers/clk/mmp/clk-frac.c
+++ b/drivers/clk/mmp/clk-frac.c
@@ -23,14 +23,6 @@
*/
#define to_clk_factor(hw) container_of(hw, struct mmp_clk_factor, hw)
-struct mmp_clk_factor {
- struct clk_hw hw;
- void __iomem *base;
- struct mmp_clk_factor_masks *masks;
- struct mmp_clk_factor_tbl *ftbl;
- unsigned int ftbl_cnt;
- spinlock_t *lock;
-};
static long clk_factor_round_rate(struct clk_hw *hw, unsigned long drate,
unsigned long *prate)