diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-19 09:22:25 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-22 19:11:20 +0900 |
commit | 0a5f337ecd20e70e84a5cfc0f2c24d0366087026 (patch) | |
tree | 947f3063cb56ca8e7b168b46432b1bd35475e075 /arch/sh/include/asm | |
parent | de7ca2144c36291a491bd39afad172f56432a4bb (diff) |
sh: introduce struct clk_div4_table
This patch introduces struct clk_div4_table. The structure
will be used to keep div4 specific data, and is with this
patch replacing the struct clk_div_mult_table pointer arg
used by the sh_clk_div4_register() functions.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r-- | arch/sh/include/asm/clock.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index 501d0b07628..dbb5746e88f 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h @@ -146,12 +146,16 @@ int sh_clk_mstp32_register(struct clk *clks, int nr); .flags = _flags, \ } +struct clk_div4_table { + struct clk_div_mult_table *div_mult_table; +}; + int sh_clk_div4_register(struct clk *clks, int nr, - struct clk_div_mult_table *table); + struct clk_div4_table *table); int sh_clk_div4_enable_register(struct clk *clks, int nr, - struct clk_div_mult_table *table); + struct clk_div4_table *table); int sh_clk_div4_reparent_register(struct clk *clks, int nr, - struct clk_div_mult_table *table); + struct clk_div4_table *table); #define SH_CLK_DIV6(_name, _parent, _reg, _flags) \ { \ |