summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-17 12:16:08 +0200
committerMark Brown <broonie@kernel.org>2017-08-17 18:58:14 +0200
commita7468e478a95db31c0f64e8497fadd9df5c49789 (patch)
treea1532e904fe69e4cefe8530b5dcea9d7bfa89d9b /sound/soc/intel/atom
parentASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink (diff)
downloadlinux-a7468e478a95db31c0f64e8497fadd9df5c49789.tar.xz
linux-a7468e478a95db31c0f64e8497fadd9df5c49789.zip
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/atom')
-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 |