]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ade0e9b429c04981c03d39a0d3d9cc500488691
tree313468de9b1e0fdaaa0760a1ba4e578070cce857
parent0051219119ba5f380c841e63cd52b9ce2caea590
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