[lkml]   [2021]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ASoC: fsl: constify static snd_soc_dai_ops structs
On Sun, Feb 7, 2021 at 6:58 AM Rikard Falkeborn
<> wrote:
> 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 <>

Acked-by: Shengjiu Wang <>

 \ /
  Last update: 2021-02-07 11:40    [W:0.270 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site