davinci: dm646x: CDCE clocks: davinci_clk converted to clk_lookup
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 11 Jan 2010 16:22:23 +0000 (08:22 -0800)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 1 Mar 2010 18:19:58 +0000 (10:19 -0800)
Remove unneeded 'struct davinci_clk' wrapper around 'struct
clk_lookup' and use clk_lookup directly.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-dm646x-evm.c

index 815067b2413e6eb12c77fa6a1de113278a39ed3d..5ba3cb2daaa0d71bc8a57a403ab2272b1e515232 100644 (file)
@@ -694,19 +694,19 @@ static struct clk cdce_clk_in = {
        .rate   = CDCE949_XIN_RATE,
 };
 
-static struct davinci_clk cdce_clks[] = {
+static struct clk_lookup cdce_clks[] = {
        CLK(NULL, "xin", &cdce_clk_in),
        CLK(NULL, NULL, NULL),
 };
 
 static void __init cdce_clk_init(void)
 {
-       struct davinci_clk *c;
+       struct clk_lookup *c;
        struct clk *clk;
 
-       for (c = cdce_clks; c->lk.clk; c++) {
-               clk = c->lk.clk;
-               clkdev_add(&c->lk);
+       for (c = cdce_clks; c->clk; c++) {
+               clk = c->clk;
+               clkdev_add(c);
                clk_register(clk);
        }
 }