From: Bhumika Goyal Date: Wed, 16 Aug 2017 17:15:08 +0000 (+0530) Subject: ASoC: bcm: make snd_soc_dai_driver const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc6e25631ddd4f3295fc79568f2145c437849e63;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: bcm: make snd_soc_dai_driver const Make this const as it is only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal Signed-off-by: Mark Brown --- diff --git a/sound/soc/bcm/cygnus-ssp.c b/sound/soc/bcm/cygnus-ssp.c index e710bb0c5637..cdd5e82439dd 100644 --- a/sound/soc/bcm/cygnus-ssp.c +++ b/sound/soc/bcm/cygnus-ssp.c @@ -1288,7 +1288,7 @@ static const struct snd_soc_dai_driver cygnus_ssp_dai_info[] = { INIT_CPU_DAI(2), }; -static struct snd_soc_dai_driver cygnus_spdif_dai_info = { +static const struct snd_soc_dai_driver cygnus_spdif_dai_info = { .name = "cygnus-spdif", .playback = { .channels_min = 2,