From: Kuninori Morimoto Date: Mon, 20 Nov 2017 02:45:36 +0000 (+0000) Subject: ASoC: soc-utils: add const to dummy_codec X-Git-Tag: v4.16-rc1~197^2~1^2~2^5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=494665a0f91b51443ca14ee1dca6d96cfd003b38;p=thirdparty%2Fkernel%2Flinux.git ASoC: soc-utils: add const to dummy_codec Let's align dummy_platform and dummy_codec Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index e30aacbcfc291..bcd3da2739e20 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 = { .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 | \