Searched hist:"38 d89a564847048c0f6fe53a829d15edb4f21da3" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_easrc.c | diff 38d89a564847048c0f6fe53a829d15edb4f21da3 Sat Feb 06 16:58:49 CST 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> ASoC: fsl: constify static snd_soc_dai_ops structs
The only usage of these is to assign their address to the 'ops' field in the snd_soc_dai_driver struct, which is a pointer to const. Make them const to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://lore.kernel.org/r/20210206225849.51071-1-rikard.falkeborn@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | fsl_xcvr.c | diff 38d89a564847048c0f6fe53a829d15edb4f21da3 Sat Feb 06 16:58:49 CST 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> ASoC: fsl: constify static snd_soc_dai_ops structs
The only usage of these is to assign their address to the 'ops' field in the snd_soc_dai_driver struct, which is a pointer to const. Make them const to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://lore.kernel.org/r/20210206225849.51071-1-rikard.falkeborn@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | fsl_micfil.c | diff 38d89a564847048c0f6fe53a829d15edb4f21da3 Sat Feb 06 16:58:49 CST 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> ASoC: fsl: constify static snd_soc_dai_ops structs
The only usage of these is to assign their address to the 'ops' field in the snd_soc_dai_driver struct, which is a pointer to const. Make them const to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://lore.kernel.org/r/20210206225849.51071-1-rikard.falkeborn@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
|