[alsa-devel] [PATCH] ASoC: samsung: constify snd_soc_ops structures

Krzysztof Kozlowski krzk at kernel.org
Sat Mar 18 16:34:40 CET 2017


On Sat, Mar 18, 2017 at 08:31:39PM +0530, Bhumika Goyal wrote:
> Declare snd_soc_ops structures as const as they are only stored
> in the ops field of a snd_soc_dai_link structure. This field is
> of type const, so snd_soc_ops structures having this property
> can be made const too.
> 
> Cross compiled the files arndale_rt5631.o, h1940_uda1380.o, jive_wm8750.o,
> littlemill.o, neo1973_wm8753.o and rx1950_uda1380.o for arm architecture.
> 
> Signed-off-by: Bhumika Goyal <bhumirks at gmail.com>
> ---
>  sound/soc/samsung/arndale_rt5631.c  | 2 +-
>  sound/soc/samsung/h1940_uda1380.c   | 2 +-
>  sound/soc/samsung/jive_wm8750.c     | 2 +-
>  sound/soc/samsung/littlemill.c      | 2 +-
>  sound/soc/samsung/neo1973_wm8753.c  | 2 +-
>  sound/soc/samsung/rx1950_uda1380.c  | 2 +-
>  sound/soc/samsung/s3c24xx_simtec.c  | 2 +-
>  sound/soc/samsung/s3c24xx_uda134x.c | 2 +-
>  sound/soc/samsung/smartq_wm8987.c   | 2 +-
>  sound/soc/samsung/smdk_spdif.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      | 2 +-
>  sound/soc/samsung/tobermory.c       | 2 +-
>  15 files changed, 15 insertions(+), 15 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <krzk at kernel.org>

Best regards,
Krzysztof



More information about the Alsa-devel mailing list