]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: soc-utils: add const to dummy_codec
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 20 Nov 2017 02:45:36 +0000 (02:45 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2017 10:48:45 +0000 (10:48 +0000)
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>
sound/soc/soc-utils.c

index e30aacbcfc291931dfb9723bcf35f0f66a220a4b..bcd3da2739e20d5db3b9a52d185b357150369de0 100644 (file)
@@ -288,7 +288,7 @@ static const struct snd_soc_platform_driver dummy_platform = {
        .ops = &dummy_dma_ops,
 };
 
-static struct snd_soc_codec_driver dummy_codec;
+static const struct snd_soc_codec_driver dummy_codec;
 
 #define STUB_RATES     SNDRV_PCM_RATE_8000_192000
 #define STUB_FORMATS   (SNDRV_PCM_FMTBIT_S8 | \