diff options
author | Laine Walker-Avina <lwalkera@ieee.org> | 2010-05-19 06:24:02 +0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-05-20 22:31:13 +0400 |
commit | 71ee297a9bc69748510179f5333a3f4541c27723 (patch) | |
tree | bc7dc9cbd6fe88d51a28098cebc630b2768b7786 /arch | |
parent | d3353e1654f60fc56b7a9a965af67e14b54d7f61 (diff) | |
download | linux-71ee297a9bc69748510179f5333a3f4541c27723.tar.xz |
OMAP3 clock: add support for setting the divider for sys_clkout2 using clk_set_rate
Add clock framework support for changing the rate of sys_clkout2.
Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org>
[paul@pwsan.com: added commit message, added .round_rate pointer]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index 5ab44b055282..833be485c89e 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c @@ -1033,6 +1033,8 @@ static struct clk sys_clkout2 = { .clksel_mask = OMAP3430_CLKOUT2_DIV_MASK, .clksel = sys_clkout2_clksel, .recalc = &omap2_clksel_recalc, + .round_rate = &omap2_clksel_round_rate, + .set_rate = &omap2_clksel_set_rate }; /* CM OUTPUT CLOCKS */ |