diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-24 18:34:29 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-24 22:01:16 +0300 |
commit | bc47ba90b01afe468cdd586b0dbe59b64862e2b7 (patch) | |
tree | 67919e97c5af07a8c1467218ea7640e51dd24ce8 /sound/drivers/opl3/opl3_voice.h | |
parent | 1a0190157521704c11f8650756388b62f3887eb3 (diff) | |
download | linux-bc47ba90b01afe468cdd586b0dbe59b64862e2b7.tar.xz |
ALSA: drivers: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl3/opl3_voice.h')
-rw-r--r-- | sound/drivers/opl3/opl3_voice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl3/opl3_voice.h b/sound/drivers/opl3/opl3_voice.h index eaef435e0528..a2445163008e 100644 --- a/sound/drivers/opl3/opl3_voice.h +++ b/sound/drivers/opl3/opl3_voice.h @@ -37,7 +37,7 @@ void snd_opl3_nrpn(void *p, struct snd_midi_channel *chan, struct snd_midi_chann void snd_opl3_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset); void snd_opl3_calc_volume(unsigned char *reg, int vel, struct snd_midi_channel *chan); -void snd_opl3_timer_func(unsigned long data); +void snd_opl3_timer_func(struct timer_list *t); /* Prototypes for opl3_drums.c */ void snd_opl3_load_drums(struct snd_opl3 *opl3); |