]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hangcheck-timer.c
[PATCH] ipmi_msghandler: inconsistent spin_lock usage
[linux-2.6-omap-h63xx.git] / drivers / char / hangcheck-timer.c
index 81d811edf3c58ec478dd73cb239fd2714bb84f32..a54bc93353af1d62d37ddf96af94d344e1bd60e4 100644 (file)
@@ -149,8 +149,7 @@ static unsigned long long hangcheck_tsc, hangcheck_tsc_margin;
 
 static void hangcheck_fire(unsigned long);
 
-static struct timer_list hangcheck_ticktock =
-               TIMER_INITIALIZER(hangcheck_fire, 0, 0);
+static DEFINE_TIMER(hangcheck_ticktock, hangcheck_fire, 0, 0);
 
 
 static void hangcheck_fire(unsigned long data)