Re: [PATCH] ALSA: line6: make snd_pcm_ops const

2017-10-02 Thread Takashi Iwai
On Wed, 27 Sep 2017 08:19:27 +0200, Bhumika Goyal wrote: > > 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

Re: [PATCH] ALSA: line6: make snd_pcm_ops const

2017-09-26 Thread Takashi Sakamoto
On Sep 27 2017 15:19, Bhumika Goyal wrote: 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: Bhu

[PATCH] ALSA: line6: make snd_pcm_ops const

2017-09-26 Thread Bhumika Goyal
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 --- sound/usb/line6/capture.c |