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 | |
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')
-rw-r--r-- | arch/arm/plat-omap/clock.c | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/clock.h | 2 |
2 files changed, 3 insertions, 3 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 | } |
diff --git a/arch/arm/plat-omap/include/mach/clock.h b/arch/arm/plat-omap/include/mach/clock.h index 073a2c5569f0..d7bd19c8ce3c 100644 --- a/arch/arm/plat-omap/include/mach/clock.h +++ b/arch/arm/plat-omap/include/mach/clock.h | |||
@@ -119,7 +119,7 @@ struct clk_functions { | |||
119 | extern unsigned int mpurate; | 119 | extern unsigned int mpurate; |
120 | 120 | ||
121 | extern int clk_init(struct clk_functions *custom_clocks); | 121 | extern int clk_init(struct clk_functions *custom_clocks); |
122 | extern void clk_init_one(struct clk *clk); | 122 | extern void clk_preinit(struct clk *clk); |
123 | extern int clk_register(struct clk *clk); | 123 | extern int clk_register(struct clk *clk); |
124 | extern void clk_reparent(struct clk *child, struct clk *parent); | 124 | extern void clk_reparent(struct clk *child, struct clk *parent); |
125 | extern void clk_unregister(struct clk *clk); | 125 | extern void clk_unregister(struct clk *clk); |