ALSA: seq: Constify struct snd_midi_op
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:45 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:19 +0000 (09:24 +0100)
commitaad7ebb544072bcb9335fa4eb0fbd1b85a6c495b
tree313468de9b1e0fdaaa0760a1ba4e578070cce857
parentd25ff26840bd0af3283d8e478669abc104bb873a
ALSA: seq: Constify struct snd_midi_op

Change the argument of snd_midi_process_event() to receive a const
snd_midi_op pointer and its callers respectively.  This allows further
optimizations.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-30-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/seq_midi_emul.h
sound/core/seq/seq_midi_emul.c
sound/drivers/opl3/opl3_seq.c
sound/drivers/opl3/opl3_voice.h
sound/drivers/opl4/opl4_seq.c
sound/synth/emux/emux_seq.c