aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm646x-evm.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2010-01-11 11:22:23 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-03-01 13:19:58 -0500
commitc564191b1c71d82977ba14ed7f975dae9f6d0001 (patch)
treea412edb8386ccd57ecd96b8b7a0734306c8bf226 /arch/arm/mach-davinci/board-dm646x-evm.c
parent08aca087f263e8089420b2723fe0c1a0cbe5de0c (diff)
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>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm646x-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm646x-evm.c10
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 = {
694 .rate = CDCE949_XIN_RATE, 694 .rate = CDCE949_XIN_RATE,
695}; 695};
696 696
697static struct davinci_clk cdce_clks[] = { 697static struct clk_lookup cdce_clks[] = {
698 CLK(NULL, "xin", &cdce_clk_in), 698 CLK(NULL, "xin", &cdce_clk_in),
699 CLK(NULL, NULL, NULL), 699 CLK(NULL, NULL, NULL),
700}; 700};
701 701
702static void __init cdce_clk_init(void) 702static void __init cdce_clk_init(void)
703{ 703{
704 struct davinci_clk *c; 704 struct clk_lookup *c;
705 struct clk *clk; 705 struct clk *clk;
706 706
707 for (c = cdce_clks; c->lk.clk; c++) { 707 for (c = cdce_clks; c->clk; c++) {
708 clk = c->lk.clk; 708 clk = c->clk;
709 clkdev_add(&c->lk); 709 clkdev_add(c);
710 clk_register(clk); 710 clk_register(clk);
711 } 711 }
712} 712}