summaryrefslogtreecommitdiffstats
path: root/drivers/block/acsi_slm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/acsi_slm.c')
-rw-r--r--drivers/block/acsi_slm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c
index e3be8c31a74c..a5c1c8e871ec 100644
--- a/drivers/block/acsi_slm.c
+++ b/drivers/block/acsi_slm.c
@@ -268,7 +268,7 @@ static int slm_get_pagesize( int device, int *w, int *h );
/************************* End of Prototypes **************************/
-static struct timer_list slm_timer = TIMER_INITIALIZER(slm_test_ready, 0, 0);
+static DEFINE_TIMER(slm_timer, slm_test_ready, 0, 0);
static struct file_operations slm_fops = {
.owner = THIS_MODULE,