linux/sound/soc/samsung
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
..
ac97.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
dma.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
dma.h ASoC: Samsung: Update DMA interface 2011-09-14 11:10:04 +05:30
goni_wm8994.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
h1940_uda1380.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
i2s-regs.h ASoC: SAMSUNG: Add idma related register definition 2011-06-26 12:05:23 +01:00
i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
i2s.h
idma.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
idma.h ASoC: SAMSUNG: Add I2S0 internal dma driver 2011-08-12 09:48:26 +09:00
jive_wm8750.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
Kconfig ASoC: Add Lowland machine driver 2011-11-09 16:51:01 +00:00
ln2440sbc_alc650.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
lowland.c ASoC: Add Lowland machine driver 2011-11-09 16:51:01 +00:00
Makefile ASoC: Add Lowland machine driver 2011-11-09 16:51:01 +00:00
neo1973_wm8753.c ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers 2011-10-08 14:10:54 +01:00
pcm.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
pcm.h ASoC: SAMSUNG: Move PCM specific definitions into pcm.c 2011-01-10 11:38:22 +00:00
regs-i2s-v2.h
rx1950_uda1380.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
s3c24xx_simtec_hermes.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
s3c24xx_simtec_tlv320aic23.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
s3c24xx_simtec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
s3c24xx_simtec.h
s3c24xx_uda134x.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
s3c24xx-i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
s3c24xx-i2s.h
s3c2412-i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
s3c2412-i2s.h
s3c-i2s-v2.c ASoC: samsung: s3c-i2s-v2.c needs module.h 2011-10-03 21:34:12 +01:00
s3c-i2s-v2.h
smartq_wm8987.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
smdk2443_wm9710.c ASoC: SAMSUNG: Clean-up header includes 2011-01-11 11:28:33 +00:00
smdk_spdif.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
smdk_wm8580.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
smdk_wm8580pcm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
smdk_wm8994.c ASoC: SAMSUNG: Fix build error 2011-11-22 19:40:29 +00:00
smdk_wm8994pcm.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
smdk_wm9713.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
spdif.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
spdif.h
speyside_wm8962.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
speyside.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00