constify snd_rawmidi_ops structures

Started by Julia Lawall on Aug 15, 2017

DORMANTno replies

open the first message on its own page

Message details and related content
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.

---

 drivers/hid/hid-prodikeys.c          |    2 +-
 drivers/usb/gadget/function/f_midi.c |    4 ++--
 sound/firewire/motu/motu-midi.c      |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help