summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-17 15:46:08 +0530
committerMark Brown <broonie@kernel.org>2017-08-17 17:58:14 +0100
commita7468e478a95db31c0f64e8497fadd9df5c49789 (patch)
treea1532e904fe69e4cefe8530b5dcea9d7bfa89d9b /sound/soc/intel
parent393a829bb2f7e12403cb7ff3b62539c27a543a2c (diff)
downloadlinux-a7468e478a95db31c0f64e8497fadd9df5c49789.tar.bz2
ASoC: Intel: Atom: make snd_pcm_hardware const
Make this const as it is only used in a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index b272df5ce0e8..43e7fdd19f29 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -76,7 +76,7 @@ int sst_unregister_dsp(struct sst_device *dev)
}
EXPORT_SYMBOL_GPL(sst_unregister_dsp);
-static struct snd_pcm_hardware sst_platform_pcm_hw = {
+static const struct snd_pcm_hardware sst_platform_pcm_hw = {
.info = (SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_DOUBLE |
SNDRV_PCM_INFO_PAUSE |