diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-04-01 17:47:23 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-02 05:54:00 +0200 |
commit | 633fe795b80693a8198e7d82f66538a72d2bbba2 (patch) | |
tree | 9a21e3c5ca35ecbbb405c146917ed004810d40b6 /kernel | |
parent | 7c526e1fef8d604a9ec022d9145bba5dbfe40a11 (diff) | |
download | linux-stable-633fe795b80693a8198e7d82f66538a72d2bbba2.tar.gz linux-stable-633fe795b80693a8198e7d82f66538a72d2bbba2.tar.bz2 linux-stable-633fe795b80693a8198e7d82f66538a72d2bbba2.zip |
timers: add missing kernel-doc
Add missing kernel-doc parameter notation and change function
name to its new name:
Warning(kernel/timer.c:543): No description found for parameter 'name'
Warning(kernel/timer.c:543): No description found for parameter 'key'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: akpm <akpm@linux-foundation.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
LKML-Reference: <20090401174723.f0bea0eb.randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/timer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 9b77fc9a9ac8..3af9a0bc4292 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -524,10 +524,13 @@ static void __init_timer(struct timer_list *timer) } /** - * init_timer - initialize a timer. + * init_timer_key - initialize a timer * @timer: the timer to be initialized + * @name: name of the timer + * @key: lockdep class key of the fake lock used for tracking timer + * sync lock dependencies * - * init_timer() must be done to a timer prior calling *any* of the + * init_timer_key() must be done to a timer prior calling *any* of the * other timer functions. */ void init_timer(struct timer_list *timer) |