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 > --- >

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

2017-08-20 Thread Arvind Yadav
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 --- drivers/staging/greybus/audio_codec.c | 2 +- 1 file

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

2017-08-20 Thread Arvind Yadav
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 --- drivers/staging/greybus/audio_codec.c | 2 +- 1 file changed, 1 insertion(+), 1