Home
last modified time | relevance | path

Searched hist:"2831 b719" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/soc/ux500/
H A Dmop500_ab8500.h2831b719 Wed Sep 29 04:44:01 CDT 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> ASoC: ux500: mop500: Constify static snd_soc_ops

The struct mop500_ab8500_ops is only assigned to the ops field in the
snd_soc_dai_link struct which is a pointer to const struct snd_soc_ops.
Make it const to allow the compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210929094401.28086-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
H A Dmop500_ab8500.c2831b719 Wed Sep 29 04:44:01 CDT 2021 Rikard Falkeborn <rikard.falkeborn@gmail.com> ASoC: ux500: mop500: Constify static snd_soc_ops

The struct mop500_ab8500_ops is only assigned to the ops field in the
snd_soc_dai_link struct which is a pointer to const struct snd_soc_ops.
Make it const to allow the compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210929094401.28086-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>