lkml.org 
[lkml]   [2021]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ASoC: samsung: Constify static snd_soc_ops
From
Date
On 28/07/2021 19:25, Rikard Falkeborn wrote:
> These are only assigned to the ops field 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>
> ---
> sound/soc/samsung/aries_wm8994.c | 2 +-
> sound/soc/samsung/arndale.c | 4 ++--
> sound/soc/samsung/h1940_uda1380.c | 2 +-
> sound/soc/samsung/littlemill.c | 2 +-
> sound/soc/samsung/midas_wm1811.c | 2 +-
> sound/soc/samsung/neo1973_wm8753.c | 4 ++--
> sound/soc/samsung/rx1950_uda1380.c | 2 +-
> sound/soc/samsung/smartq_wm8987.c | 2 +-
> sound/soc/samsung/smdk_wm8580.c | 2 +-
> sound/soc/samsung/smdk_wm8994.c | 2 +-
> sound/soc/samsung/smdk_wm8994pcm.c | 2 +-
> sound/soc/samsung/tm2_wm5110.c | 6 +++---
> sound/soc/samsung/tobermory.c | 2 +-
> 13 files changed, 17 insertions(+), 17 deletions(-)
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof

\
 
 \ /
  Last update: 2021-07-29 08:59    [W:0.053 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site