Tag: 17074c1a5f1bbbf352fe071b2947a498db42661f

ALSA: usb-audio: constify usb_protocol_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The usb_protocol_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Acked-by: Clemens Ladisch Signed-off-by: Takashi Iwai — sound/usb/midi.c | 25 +++++++++++++———— 1 file changed, 13 insertions(+), 12 deletions(-)   diff –git a/sound/usb/midi.c b/sound/usb/midi.c index ee212e7..cc39f63 100644 — a/sound/usb/midi.c +++ b/sound/usb/midi.c @@ …

Continue reading