diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-24 20:44:10 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-26 03:44:32 -0500 |
commit | 8428d47a36a35c457a1147c3e8aa61c1be343604 (patch) | |
tree | 07c87aa3575bde8eee5d0177b3904643fdc867a9 | |
parent | ab5d97db1c6ced3e95c00d097931471707032b1f (diff) |
ARM: SAMSUNG: Add documentation to the clock registration calls.
Add some kerneldoc documentation to the s3c24xx_register_clock and the
s3c24xx_register_clocks() call.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/plat-samsung/clock.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c index e9cdbe47beb6..4b95b3920036 100644 --- a/arch/arm/plat-samsung/clock.c +++ b/arch/arm/plat-samsung/clock.c | |||
@@ -307,6 +307,12 @@ struct clk s3c24xx_uclk = { | |||
307 | 307 | ||
308 | /* initialise the clock system */ | 308 | /* initialise the clock system */ |
309 | 309 | ||
310 | /** | ||
311 | * s3c24xx_register_clock() - register a clock | ||
312 | * @clk: The clock to register | ||
313 | * | ||
314 | * Add the specified clock to the list of clocks known by the system. | ||
315 | */ | ||
310 | int s3c24xx_register_clock(struct clk *clk) | 316 | int s3c24xx_register_clock(struct clk *clk) |
311 | { | 317 | { |
312 | if (clk->enable == NULL) | 318 | if (clk->enable == NULL) |
@@ -324,6 +330,14 @@ int s3c24xx_register_clock(struct clk *clk) | |||
324 | return 0; | 330 | return 0; |
325 | } | 331 | } |
326 | 332 | ||
333 | /** | ||
334 | * s3c24xx_register_clocks() - register an array of clock pointers | ||
335 | * @clks: Pointer to an array of struct clk pointers | ||
336 | * @nr_clks: The number of clocks in the @clks array. | ||
337 | * | ||
338 | * Call s3c24xx_register_clock() for all the clock pointers contained | ||
339 | * in the @clks list. Returns the number of failures. | ||
340 | */ | ||
327 | int s3c24xx_register_clocks(struct clk **clks, int nr_clks) | 341 | int s3c24xx_register_clocks(struct clk **clks, int nr_clks) |
328 | { | 342 | { |
329 | int fails = 0; | 343 | int fails = 0; |