Messages in this thread | | | Subject | Re: [PATCH] ASoC: intel: boards: bytcht*: Constify static snd_soc_ops | From | Pierre-Louis Bossart <> | Date | Mon, 29 Nov 2021 10:24:23 -0600 |
| |
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@gmail.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
| |