diff options
author | Francesco VIRLINZI <francesco.virlinzi@st.com> | 2009-03-11 08:40:54 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-11 09:18:46 +0100 |
commit | d680c76eccd9222031ee30dcee5fdedba2467610 (patch) | |
tree | cfde726fe9c9193c07c768cb2144cb1eb4f1f1f8 /arch/sh/include/asm/clock.h | |
parent | mtd: flash mapping support for Dreamcast VMU. (diff) | |
download | linux-d680c76eccd9222031ee30dcee5fdedba2467610.tar.xz linux-d680c76eccd9222031ee30dcee5fdedba2467610.zip |
sh: clkfwk: add clk_set_parent/clk_get_parent
This patch adds the clk_set_parent/clk_get_parent routines to the sh
clock framework.
Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r-- | arch/sh/include/asm/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index f9c88583d90a..2f6c9627bc1f 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h @@ -15,6 +15,7 @@ struct clk_ops { void (*disable)(struct clk *clk); void (*recalc)(struct clk *clk); int (*set_rate)(struct clk *clk, unsigned long rate, int algo_id); + int (*set_parent)(struct clk *clk, struct clk *parent); long (*round_rate)(struct clk *clk, unsigned long rate); }; |