ASoC: Constify snd_soc_dai_ops variables

The snd_soc_dai_ops variables are not modified after initialization in
these drivers, so make them const.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
这个提交包含在:
Axel Lin
2015-07-15 15:38:14 +08:00
提交者 Mark Brown
父节点 d770e558e2
当前提交 6479304755
修改 13 个文件,包含 22 行新增22 行删除

查看文件

@@ -520,7 +520,7 @@ static const struct dev_pm_ops tas2552_pm = {
NULL)
};
static struct snd_soc_dai_ops tas2552_speaker_dai_ops = {
static const struct snd_soc_dai_ops tas2552_speaker_dai_ops = {
.hw_params = tas2552_hw_params,
.prepare = tas2552_prepare,
.set_sysclk = tas2552_set_dai_sysclk,