]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP2430 clock: make func_96m_ck parent-selectable
authorPaul Walmsley <paul@pwsan.com>
Tue, 23 Feb 2010 05:09:23 +0000 (22:09 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 24 Feb 2010 19:29:42 +0000 (12:29 -0700)
func_96m_ck was incorrectly marked as being rate-selectable, when in
fact it is only parent-selectable.  Remove the .set_rate and .round_rate
function pointers for this clk.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock2430_data.c

index 9b9470e51e0438065776598076edf580d267a0d0..daf643928c264d550ba1821f9d67dc1ba71e0b23 100644 (file)
@@ -210,7 +210,6 @@ static const struct clksel func_96m_clksel[] = {
        { .parent = NULL }
 };
 
-/* The parent of this clock is not selectable on 2420. */
 static struct clk func_96m_ck = {
        .name           = "func_96m_ck",
        .ops            = &clkops_null,
@@ -221,8 +220,6 @@ static struct clk func_96m_ck = {
        .clksel_mask    = OMAP2430_96M_SOURCE,
        .clksel         = func_96m_clksel,
        .recalc         = &omap2_clksel_recalc,
-       .round_rate     = &omap2_clksel_round_rate,
-       .set_rate       = &omap2_clksel_set_rate
 };
 
 /* func_48m_ck */