diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-01-11 17:22:23 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-03-01 19:19:58 +0100 |
commit | c564191b1c71d82977ba14ed7f975dae9f6d0001 (patch) | |
tree | a412edb8386ccd57ecd96b8b7a0734306c8bf226 | |
parent | davinci: clkdev cleanup: remove clk_lookup wrapper, use clkdev_add_table() (diff) | |
download | linux-c564191b1c71d82977ba14ed7f975dae9f6d0001.tar.xz linux-c564191b1c71d82977ba14ed7f975dae9f6d0001.zip |
davinci: dm646x: CDCE clocks: davinci_clk converted to clk_lookup
Remove unneeded 'struct davinci_clk' wrapper around 'struct
clk_lookup' and use clk_lookup directly.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 815067b2413e..5ba3cb2daaa0 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c @@ -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); } } |