[PATCH] ASoC: intel: boards: bytcht*: Constify static snd_soc_ops

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Nov 29 17:24:23 CET 2021



On 11/27/21 3:19 AM, Rikard Falkeborn wrote:
> These are only assigned to the ops fields in the snd_soc_dai_link struct
> which is a pointer to const struct snd_soc_ops. Make them const to allow
> the compiler to put them in read-only memory.
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>

Acked-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>


More information about the Alsa-devel mailing list