projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d06901
)
ASoC: fsl-asoc-card: constify fsl_asoc_card_dai
author
Luca Ceresoli
<luca.ceresoli@bootlin.com>
Thu, 26 Jan 2023 15:24:12 +0000
(16:24 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl-asoc-card.c
b/sound/soc/fsl/fsl-asoc-card.c
index 5e4be6a4021703ed40dd3c65c7e1d8eac49fa832..8099a829c304b50b1ea7b29d6b6b1eea0bfbcde1 100644
(file)
--- a/
sound/soc/fsl/fsl-asoc-card.c
+++ b/
sound/soc/fsl/fsl-asoc-card.c
@@
-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",