linux/sound/soc/pxa
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
..
corgi.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
e740_wm9705.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
e750_wm9705.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
e800_wm9712.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
em-x270.c ASoC: correct pxa AC97 DAI names 2011-02-25 11:42:18 +00:00
hx4700.c ASoC: add iPAQ hx4700 machine driver 2011-05-19 14:10:59 -07:00
imote2.c ASoC: pxa2xx-i2s is the proper name of the I2S DAI, not pxa-i2s. 2010-08-23 13:36:46 +01:00
Kconfig ASoC: Make SND_SOC_SAARB and SND_SOC_TAVOREVB3 select MFD_88PM860X 2011-10-12 17:09:15 +01:00
magician.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
Makefile ASoC: add iPAQ hx4700 machine driver 2011-05-19 14:10:59 -07:00
mioa701_wm9713.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
palm27x.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
poodle.c ASoC: pxa: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-13 11:50:04 +01:00
pxa2xx-ac97.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
pxa2xx-ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
pxa2xx-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-pcm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
pxa-ssp.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
pxa-ssp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
raumfeld.c ASoC: Add missing platform_device_put in raumfeld_audio_init error path 2011-09-05 18:13:04 -07:00
saarb.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
spitz.c ASoC: pxa: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-13 11:50:04 +01:00
tavorevb3.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
tosa.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
z2.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
zylonite.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00