diff options
author | Paul Walmsley <paul@pwsan.com> | 2009-05-12 19:50:30 -0400 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-05-12 19:50:30 -0400 |
commit | 7971687094ef48695aa56a0c03416b609bd4d1fd (patch) | |
tree | a6ba48557739013b4e10699ff7139a34aa3e778b /arch/arm/mach-omap2 | |
parent | 0db4e8259792202060b962ad1a8715f030268c8b (diff) |
OMAP2xxx clock: rename clk_init_one() to clk_preinit()
Rename clk_init_one() to clk_preinit() to distinguish its function
from clk_init() and the individual struct clk init functions.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/clock24xx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c index efc59c49341b..cc94672f9e2a 100644 --- a/arch/arm/mach-omap2/clock24xx.c +++ b/arch/arm/mach-omap2/clock24xx.c | |||
@@ -722,7 +722,7 @@ int __init omap2_clk_init(void) | |||
722 | clk_init(&omap2_clk_functions); | 722 | clk_init(&omap2_clk_functions); |
723 | 723 | ||
724 | for (c = omap24xx_clks; c < omap24xx_clks + ARRAY_SIZE(omap24xx_clks); c++) | 724 | for (c = omap24xx_clks; c < omap24xx_clks + ARRAY_SIZE(omap24xx_clks); c++) |
725 | clk_init_one(c->lk.clk); | 725 | clk_preinit(c->lk.clk); |
726 | 726 | ||
727 | osc_ck.rate = omap2_osc_clk_recalc(&osc_ck); | 727 | osc_ck.rate = omap2_osc_clk_recalc(&osc_ck); |
728 | propagate_rate(&osc_ck); | 728 | propagate_rate(&osc_ck); |
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c index 2ee58fa5dc70..62092f282de2 100644 --- a/arch/arm/mach-omap2/clock34xx.c +++ b/arch/arm/mach-omap2/clock34xx.c | |||
@@ -964,7 +964,7 @@ int __init omap2_clk_init(void) | |||
964 | clk_init(&omap2_clk_functions); | 964 | clk_init(&omap2_clk_functions); |
965 | 965 | ||
966 | for (c = omap34xx_clks; c < omap34xx_clks + ARRAY_SIZE(omap34xx_clks); c++) | 966 | for (c = omap34xx_clks; c < omap34xx_clks + ARRAY_SIZE(omap34xx_clks); c++) |
967 | clk_init_one(c->lk.clk); | 967 | clk_preinit(c->lk.clk); |
968 | 968 | ||
969 | for (c = omap34xx_clks; c < omap34xx_clks + ARRAY_SIZE(omap34xx_clks); c++) | 969 | for (c = omap34xx_clks; c < omap34xx_clks + ARRAY_SIZE(omap34xx_clks); c++) |
970 | if (c->cpu & cpu_clkflg) { | 970 | if (c->cpu & cpu_clkflg) { |