HID: prodikeys: constify snd_rawmidi_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 15 Aug 2017 08:09:53 +0000 (10:09 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 15 Aug 2017 09:02:45 +0000 (11:02 +0200)
commit0acb310c3273d55ad19c9a5f48b73224ce6e2dc0
tree432ea34fefa46c3432e1df8552437edf21ac2735
parent81b7ec4e621f1e16dcb688cda819828f49c375b2
HID: prodikeys: constify snd_rawmidi_ops structures

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

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-prodikeys.c