diff options
author | Ingo Molnar | 2005-09-09 22:10:40 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-09-09 23:03:48 +0200 |
commit | 8d06afab73a75f40ae2864e6c296356bab1ab473 (patch) | |
tree | 1d9c8c24a1024a12a4e8df841fba5809fa914356 /drivers/scsi/pluto.c | |
parent | [PATCH] FUSE: don't allow restarting of system calls (diff) | |
download | kernel-qcow2-linux-8d06afab73a75f40ae2864e6c296356bab1ab473.tar.gz kernel-qcow2-linux-8d06afab73a75f40ae2864e6c296356bab1ab473.tar.xz kernel-qcow2-linux-8d06afab73a75f40ae2864e6c296356bab1ab473.zip |
[PATCH] timer initialization cleanup: DEFINE_TIMER
Clean up timer initialization by introducing DEFINE_TIMER a'la
DEFINE_SPINLOCK. Build and boot-tested on x86. A similar patch has been
been in the -RT tree for some time.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/pluto.c')
-rw-r--r-- | drivers/scsi/pluto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/pluto.c b/drivers/scsi/pluto.c index 623082d3a83f..c89da7d5b6df 100644 --- a/drivers/scsi/pluto.c +++ b/drivers/scsi/pluto.c @@ -95,8 +95,7 @@ int __init pluto_detect(Scsi_Host_Template *tpnt) int i, retry, nplutos; fc_channel *fc; Scsi_Device dev; - struct timer_list fc_timer = - TIMER_INITIALIZER(pluto_detect_timeout, 0, 0); + DEFINE_TIMER(fc_timer, pluto_detect_timeout, 0, 0); tpnt->proc_name = "pluto"; fcscount = 0; |