ALSA: firewire-motu: constify snd_rawmidi_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 15 Aug 2017 08:09:54 +0000 (10:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Aug 2017 12:05:16 +0000 (14:05 +0200)
commiteb2c18309491325381172cc2838006c5e9fdd0f4
treed7d546de781548643d43356dcc15d03cf654dea2
parentc9480d055e306a855f8a8d2b3b097773cd0d5ad0
ALSA: firewire-motu: constify snd_rawmidi_ops structures

These snd_rawmidi_ops structures are only passed as the third
argument of snd_rawmidi_set_ops.  This argument is const, so the
snd_rawmidi_ops structures can be const too.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/motu-midi.c