aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/timer.c7
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)
524} 524}
525 525
526/** 526/**
527 * init_timer - initialize a timer. 527 * init_timer_key - initialize a timer
528 * @timer: the timer to be initialized 528 * @timer: the timer to be initialized
529 * @name: name of the timer
530 * @key: lockdep class key of the fake lock used for tracking timer
531 * sync lock dependencies
529 * 532 *
530 * init_timer() must be done to a timer prior calling *any* of the 533 * init_timer_key() must be done to a timer prior calling *any* of the
531 * other timer functions. 534 * other timer functions.
532 */ 535 */
533void init_timer(struct timer_list *timer) 536void init_timer(struct timer_list *timer)