OMAP: Make sgx_fck programmable with clk_set_rate()
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 28 Feb 2010 23:32:52 +0000 (01:32 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 1 Mar 2010 00:02:39 +0000 (02:02 +0200)
The 3.01.00.02 SGX/PVR driver wants it to be configurable,
or else just fails.

arch/arm/mach-omap2/clock34xx.h

index 1032577..56df49b 100644 (file)
@@ -1301,6 +1301,8 @@ static struct clk sgx_fck = {
        .flags          = CLOCK_IN_OMAP3430ES2,
        .clkdm          = { .name = "sgx_clkdm" },
        .recalc         = &omap2_clksel_recalc,
+       .set_rate       = &omap2_clksel_set_rate,
+       .round_rate     = &omap2_clksel_round_rate,
 };
 
 static struct clk sgx_ick = {