diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-24 08:34:40 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-24 21:01:33 +0200 |
commit | 08352b200b203f8f9fa8a1c914acb58c7b10f907 (patch) | |
tree | fc2e8a322ddfdcbd795d90253591b011512fbcd7 /sound/synth/emux/emux_voice.h | |
parent | bc47ba90b01afe468cdd586b0dbe59b64862e2b7 (diff) | |
download | lwn-08352b200b203f8f9fa8a1c914acb58c7b10f907.tar.gz lwn-08352b200b203f8f9fa8a1c914acb58c7b10f907.zip |
ALSA: emux: 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/synth/emux/emux_voice.h')
-rw-r--r-- | sound/synth/emux/emux_voice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/synth/emux/emux_voice.h b/sound/synth/emux/emux_voice.h index a7073c371bcc..326fa8993d7b 100644 --- a/sound/synth/emux/emux_voice.h +++ b/sound/synth/emux/emux_voice.h @@ -55,7 +55,7 @@ void snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update); void snd_emux_update_port(struct snd_emux_port *port, int update); -void snd_emux_timer_callback(unsigned long data); +void snd_emux_timer_callback(struct timer_list *t); /* emux_effect.c */ #ifdef SNDRV_EMUX_USE_RAW_EFFECT |