Re: [PATCH] staging: greybus: audio: constify snd_soc_dai_ops structures

2017-08-21 Thread Mark Greer
On Mon, Aug 21, 2017 at 10:28:24AM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

Re: [PATCH] staging: greybus: audio: constify snd_soc_dai_ops structures

2017-08-21 Thread Mark Greer
On Mon, Aug 21, 2017 at 10:28:24AM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- >