diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-16 18:59:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-17 19:09:39 +0200 |
commit | 2af236391f5a167630ebca0eced832afcc4634e0 (patch) | |
tree | 23edb62ea725f84f2554e5ecbeae729e09aaa333 /sound/soc/samsung/s3c24xx_simtec.c | |
parent | ASoC: samsung: i2s: Null pointer dereference on samsung_i2s_remove (diff) | |
download | linux-2af236391f5a167630ebca0eced832afcc4634e0.tar.xz linux-2af236391f5a167630ebca0eced832afcc4634e0.zip |
ASoC: samsung: make snd_soc_ops const
Make these const as they are only stored in the ops field of a
snd_soc_dai_link structure, which is const.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c index dcc008d1e1ab..6de63f3e37d5 100644 --- a/sound/soc/samsung/s3c24xx_simtec.c +++ b/sound/soc/samsung/s3c24xx_simtec.c @@ -211,7 +211,7 @@ static int simtec_call_startup(struct s3c24xx_audio_simtec_pdata *pd) return 0; } -static struct snd_soc_ops simtec_snd_ops = { +static const struct snd_soc_ops simtec_snd_ops = { .hw_params = simtec_hw_params, }; |