Re: [PATCH] ASoC: tegra: constify snd_soc_dai_ops structure

2017-07-13 Thread Jon Hunter
On 13/07/17 06:47, Gustavo A. R. Silva wrote: > This structure is only stored in the ops field of a snd_soc_dai_driver > structure. That field is declared const, so snd_soc_dai_ops structures > that have this property can be declared as const also. > > Signed-off-by: Gustavo A. R. Silva

Re: [PATCH] ASoC: tegra: constify snd_soc_dai_ops structure

2017-07-13 Thread Jon Hunter
On 13/07/17 06:47, Gustavo A. R. Silva wrote: > This structure is only stored in the ops field of a snd_soc_dai_driver > structure. That field is declared const, so snd_soc_dai_ops structures > that have this property can be declared as const also. > > Signed-off-by: Gustavo A. R. Silva > --- >

[PATCH] ASoC: tegra: constify snd_soc_dai_ops structure

2017-07-12 Thread Gustavo A. R. Silva
This structure is only stored in the ops field of a snd_soc_dai_driver structure. That field is declared const, so snd_soc_dai_ops structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva --- sound/soc/tegra/tegra30_i2s.c | 2

[PATCH] ASoC: tegra: constify snd_soc_dai_ops structure

2017-07-12 Thread Gustavo A. R. Silva
This structure is only stored in the ops field of a snd_soc_dai_driver structure. That field is declared const, so snd_soc_dai_ops structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva --- sound/soc/tegra/tegra30_i2s.c | 2 +- 1 file changed, 1