diff options
Diffstat (limited to 'kernel/timer.c')
-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 672ca25fbc43..fed53be44fd9 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -532,10 +532,13 @@ static void __init_timer(struct timer_list *timer, | |||
532 | } | 532 | } |
533 | 533 | ||
534 | /** | 534 | /** |
535 | * init_timer - initialize a timer. | 535 | * init_timer_key - initialize a timer |
536 | * @timer: the timer to be initialized | 536 | * @timer: the timer to be initialized |
537 | * @name: name of the timer | ||
538 | * @key: lockdep class key of the fake lock used for tracking timer | ||
539 | * sync lock dependencies | ||
537 | * | 540 | * |
538 | * init_timer() must be done to a timer prior calling *any* of the | 541 | * init_timer_key() must be done to a timer prior calling *any* of the |
539 | * other timer functions. | 542 | * other timer functions. |
540 | */ | 543 | */ |
541 | void init_timer_key(struct timer_list *timer, | 544 | void init_timer_key(struct timer_list *timer, |