linux/sound/soc/blackfin
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
..
Kconfig ASoC: Blackfin: ADAU1373 eval board support 2011-08-17 00:53:54 +09:00
Makefile ASoC: Blackfin: ADAU1373 eval board support 2011-08-17 00:53:54 +09:00
bf5xx-ac97-pcm.c ASoC: Staticise bf5xx_pcm_ac97_new() 2011-09-21 14:55:50 +01:00
bf5xx-ac97-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-ac97.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-ad193x.c ASoC: Blackfin: bf5xx-ad193x: Fix codec device name 2011-09-05 18:11:29 -07:00
bf5xx-ad1836.c ASoC: Blackfin: bf5xx-ad1836: Fix codec device name 2011-06-07 09:49:28 +01:00
bf5xx-ad1980.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ad73311.c ASoC: bf5xx-ad73311: Fix prototype for bf5xx_probe 2011-09-16 00:50:16 +01:00
bf5xx-i2s-pcm.c ASoC: Staticise bf5xx_pcm_i2s_new() 2011-09-21 14:55:50 +01:00
bf5xx-i2s-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
bf5xx-sport.c blackfin: add module.h to files implicitly expecting to use it. 2011-10-31 19:31:02 -04:00
bf5xx-sport.h ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ssm2602.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-tdm-pcm.c ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
bf5xx-tdm-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-tdm.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
bf5xx-tdm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bfin-eval-adau1373.c ASoC: Blackfin: ADAU1373 eval board support 2011-08-17 00:53:54 +09:00
bfin-eval-adau1701.c ASoC: Blackfin: Add bf5xx-adau1701 machine driver 2011-06-16 11:24:25 +01:00
bfin-eval-adav80x.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00