ALSA: midi: constify snd_rawmidi_global_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 22 Nov 2015 07:55:07 +0000 (08:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 22 Nov 2015 08:21:16 +0000 (09:21 +0100)
commitefdbe3c3edb6c8c98a8be863f60916780a5375c1
treeb12ad7c60e525b042957f37c5b87fc74cf221c7a
parent7a7a2df434cec5614271666b84b2ea1f41048e91
ALSA: midi: constify snd_rawmidi_global_ops structures

The snd_rawmidi_global_ops structures are never modified, so declare them
as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/rawmidi.h
sound/core/seq/seq_virmidi.c
sound/usb/midi.c