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/plat-omap/clock.c | |
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/plat-omap/clock.c')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 29efc279287a..508c96ab24e9 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -240,13 +240,13 @@ void recalculate_root_clocks(void) | |||
240 | } | 240 | } |
241 | 241 | ||
242 | /** | 242 | /** |
243 | * clk_init_one - initialize any fields in the struct clk before clk init | 243 | * clk_preinit - initialize any fields in the struct clk before clk init |
244 | * @clk: struct clk * to initialize | 244 | * @clk: struct clk * to initialize |
245 | * | 245 | * |
246 | * Initialize any struct clk fields needed before normal clk initialization | 246 | * Initialize any struct clk fields needed before normal clk initialization |
247 | * can run. No return value. | 247 | * can run. No return value. |
248 | */ | 248 | */ |
249 | void clk_init_one(struct clk *clk) | 249 | void clk_preinit(struct clk *clk) |
250 | { | 250 | { |
251 | INIT_LIST_HEAD(&clk->children); | 251 | INIT_LIST_HEAD(&clk->children); |
252 | } | 252 | } |