]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap: constify snd_soc_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 18 Mar 2017 14:04:11 +0000 (19:34 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2017 11:26:37 +0000 (11:26 +0000)
commitdec9313ebc8078a8c9df1f6d51102b0e7890e857
tree8c92ded82dd869d069e294218588af9dd4247782
parent2914d8a63ed3403f82d2341aef4d36f946d6ab2c
ASoC: omap: constify snd_soc_ops structures

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 .o files for arm architecture.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/am3517evm.c
sound/soc/omap/n810.c
sound/soc/omap/omap-abe-twl6040.c
sound/soc/omap/omap-twl4030.c
sound/soc/omap/omap3pandora.c
sound/soc/omap/osk5912.c
sound/soc/omap/rx51.c