diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-25 15:26:01 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-25 15:26:01 +0900 |
commit | 75f5f8a56e0fdf6d32b3ae9c44c10bc0acd3857c (patch) | |
tree | ab4c7322730e02674e35e5cbbd9ac4afc57db628 /include/linux/sh_clk.h | |
parent | 1111cc1e8080b5ff46f5b945acb2f99d6176b2d1 (diff) |
sh: clkfwk: Use shared sh_clk_div_recalc().
This generalizes the div4 recalc routine for use by div6 and others, then
makes it the default.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_clk.h')
-rw-r--r-- | include/linux/sh_clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h index d540b815317..35a04f19fb5 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h @@ -172,6 +172,7 @@ int sh_clk_div4_reparent_register(struct clk *clks, int nr, _num_parents, _src_shift, _src_width) \ { \ .enable_reg = (void __iomem *)_reg, \ + .enable_bit = 0, /* unused */ \ .flags = _flags, \ .div_mask = SH_CLK_DIV6_MSK, \ .parent_table = _parents, \ @@ -184,6 +185,7 @@ int sh_clk_div4_reparent_register(struct clk *clks, int nr, { \ .parent = _parent, \ .enable_reg = (void __iomem *)_reg, \ + .enable_bit = 0, /* unused */ \ .div_mask = SH_CLK_DIV6_MSK, \ .flags = _flags, \ } |