Skip to content

Commit

Permalink
ASoC: soc-utils: add const to dummy_codec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Nov 29, 2017
1 parent 4fbd8d1 commit 494665a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 | \
Expand Down

0 comments on commit 494665a

Please sign in to comment.