linux/sound/soc/omap
Lars-Peter Clausen 85e7652d89 ASoC: Constify snd_soc_dai_ops structs
Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
introduced the possibility to have constant DAI ops structures, yet this is
barley used in both existing drivers and also new drivers being submitted,
although none of them modifies its DAI ops structure. The later is not
surprising since existing drivers are often used as templates for new drivers.
So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
the issue altogether.

The patch was generated with the following coccinelle semantic patch:
// <smpl>
@@
identifier ops;
@@
-struct snd_soc_dai_ops ops =
+const struct snd_soc_dai_ops ops =
{ ... };
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-11-23 10:40:46 +00:00
..
am3517evm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ams-delta.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
igep0020.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
Kconfig Merge branch 'for-3.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc 2011-07-05 07:33:23 +02:00
Makefile ASoC: omap-mcpdm: Replace legacy driver 2011-09-22 09:22:50 +03:00
n810.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap3beagle.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap3evm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap3pandora.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap4-hdmi-card.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap-hdmi.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
omap-hdmi.h ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-mcbsp.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
omap-mcbsp.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap-mcpdm.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
omap-pcm.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
osk5912.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
overo.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
rx51.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
sdp3430.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
sdp4430.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
zoom2.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00