diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-17 13:16:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-17 19:56:52 +0300 |
commit | f77bb3b778e85d3477a9e3e0236545663f16793e (patch) | |
tree | 5fadde632566b5f14897eb2c9a7c5d05e81bf1fc /sound/soc/fsl/fsl_asrc_dma.c | |
parent | 443be77e4b09d98c28196dca7132a1191ecf742b (diff) | |
download | linux-f77bb3b778e85d3477a9e3e0236545663f16793e.tar.xz |
ASoC: fsl: make snd_pcm_hardware const
Make these const as they are only passed as the 2nd argument to the
function snd_soc_set_runtime_hwparams, which is 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/fsl_asrc_dma.c')
-rw-r--r-- | sound/soc/fsl/fsl_asrc_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_asrc_dma.c b/sound/soc/fsl/fsl_asrc_dma.c index 2baf19608bd0..e1b97e59275a 100644 --- a/sound/soc/fsl/fsl_asrc_dma.c +++ b/sound/soc/fsl/fsl_asrc_dma.c @@ -20,7 +20,7 @@ #define FSL_ASRC_DMABUF_SIZE (256 * 1024) -static struct snd_pcm_hardware snd_imx_hardware = { +static const struct snd_pcm_hardware snd_imx_hardware = { .info = SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER | SNDRV_PCM_INFO_MMAP | |