ASoC: fsl-asoc-card: constify fsl_asoc_card_dai
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Thu, 26 Jan 2023 15:24:12 +0000 (16:24 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 28 Jan 2023 10:50:34 +0000 (10:50 +0000)
This is never modified and can be made const.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20230126152412.959574-1-luca.ceresoli@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c

index 5e4be6a..8099a82 100644 (file)
@@ -297,7 +297,7 @@ SND_SOC_DAILINK_DEFS(hifi_be,
        DAILINK_COMP_ARRAY(COMP_EMPTY()),
        DAILINK_COMP_ARRAY(COMP_DUMMY()));
 
-static struct snd_soc_dai_link fsl_asoc_card_dai[] = {
+static const struct snd_soc_dai_link fsl_asoc_card_dai[] = {
        /* Default ASoC DAI Link*/
        {
                .name = "HiFi",