diff options
Diffstat (limited to 'sound/drivers/opl3/opl3_seq.c')
-rw-r--r-- | sound/drivers/opl3/opl3_seq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/drivers/opl3/opl3_seq.c b/sound/drivers/opl3/opl3_seq.c index 68399538e435..a9f618e06a22 100644 --- a/sound/drivers/opl3/opl3_seq.c +++ b/sound/drivers/opl3/opl3_seq.c | |||
@@ -247,9 +247,7 @@ static int snd_opl3_seq_new_device(struct snd_seq_device *dev) | |||
247 | } | 247 | } |
248 | 248 | ||
249 | /* setup system timer */ | 249 | /* setup system timer */ |
250 | init_timer(&opl3->tlist); | 250 | setup_timer(&opl3->tlist, snd_opl3_timer_func, (unsigned long) opl3); |
251 | opl3->tlist.function = snd_opl3_timer_func; | ||
252 | opl3->tlist.data = (unsigned long) opl3; | ||
253 | spin_lock_init(&opl3->sys_timer_lock); | 251 | spin_lock_init(&opl3->sys_timer_lock); |
254 | opl3->sys_timer_status = 0; | 252 | opl3->sys_timer_status = 0; |
255 | 253 | ||