ALSA: line6: make snd_pcm_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 27 Sep 2017 06:19:27 +0000 (11:49 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Oct 2017 12:33:23 +0000 (14:33 +0200)
commite195a331c4124a6527e5e1b6fbd93a6b4a984d7b
tree9b06cc3e40fe50eee949ced8dac39d10a3a9f6c2
parent729fbfc92a4563405f3962051e7b25fec3a7bd10
ALSA: line6: make snd_pcm_ops const

Make these const as they are only passed to a const argument of the
function snd_pcm_set_ops in the file referencing them. Also, add const
to the declaration in the headers.

Structures found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/capture.c
sound/usb/line6/capture.h
sound/usb/line6/playback.c
sound/usb/line6/playback.h