diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-14 17:08:42 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 17:18:04 +0100 |
commit | 779238e28e42ff49f314df217de146b14d72c582 (patch) | |
tree | 31637f3bf5b3038bdba7afc5491e2ae475277d50 /sound/soc/fsl/imx-pcm-fiq.c | |
parent | b6ed072028705620ea2937ddafd77a202df034af (diff) | |
download | op-kernel-dev-779238e28e42ff49f314df217de146b14d72c582.zip op-kernel-dev-779238e28e42ff49f314df217de146b14d72c582.tar.gz |
ASoC: fsl: make snd_soc_platform_driver const
Make these const as they are only passed as the 2nd argument to the function
snd_soc_register_platform, which is of type const.
Done using Coccinelle.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-fiq.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm-fiq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c index 9ce3761..aef1f78 100644 --- a/sound/soc/fsl/imx-pcm-fiq.c +++ b/sound/soc/fsl/imx-pcm-fiq.c @@ -341,7 +341,7 @@ static void imx_pcm_fiq_free(struct snd_pcm *pcm) imx_pcm_free(pcm); } -static struct snd_soc_platform_driver imx_soc_platform_fiq = { +static const struct snd_soc_platform_driver imx_soc_platform_fiq = { .ops = &imx_pcm_ops, .pcm_new = imx_pcm_fiq_new, .pcm_free = imx_pcm_fiq_free, |