diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-11-19 21:45:36 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-29 05:48:45 -0500 |
commit | 494665a0f91b51443ca14ee1dca6d96cfd003b38 (patch) | |
tree | 522ff253b1b6a62e4e89b09c7dfe808636788d06 /sound/soc/soc-utils.c | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
ASoC: soc-utils: add const to dummy_codec
Let's align dummy_platform and dummy_codec
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-utils.c')
-rw-r--r-- | sound/soc/soc-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index e30aacbcfc29..bcd3da2739e2 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c | |||
@@ -288,7 +288,7 @@ static const struct snd_soc_platform_driver dummy_platform = { | |||
288 | .ops = &dummy_dma_ops, | 288 | .ops = &dummy_dma_ops, |
289 | }; | 289 | }; |
290 | 290 | ||
291 | static struct snd_soc_codec_driver dummy_codec; | 291 | static const struct snd_soc_codec_driver dummy_codec; |
292 | 292 | ||
293 | #define STUB_RATES SNDRV_PCM_RATE_8000_192000 | 293 | #define STUB_RATES SNDRV_PCM_RATE_8000_192000 |
294 | #define STUB_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ | 294 | #define STUB_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ |