alistair23-linux/sound/soc/tegra
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: Tegra: Implement SPDIF CPU DAI 2011-07-05 12:20:56 -07:00
Makefile ASoC: Tegra: Implement SPDIF CPU DAI 2011-07-05 12:20:56 -07:00
tegra_asoc_utils.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
tegra_asoc_utils.h ASoC: Tegra: Don't return mclk_changed from utils_set_rate 2011-04-20 13:49:55 +01:00
tegra_das.c ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver 2011-11-23 10:24:10 +00:00
tegra_das.h
tegra_i2s.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tegra_i2s.h ASoC: tegra: Add tegra-i2s driver 2011-01-10 22:20:39 +00:00
tegra_pcm.c ASoC: Tegra PCM: Use module_platform_driver 2011-11-23 10:24:10 +00:00
tegra_pcm.h
tegra_spdif.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tegra_spdif.h ASoC: Tegra: Implement SPDIF CPU DAI 2011-07-05 12:20:56 -07:00
tegra_wm8903.c ASoC: Tegra: Move DAS configuration into machine drivers 2011-11-23 10:24:10 +00:00
trimslice.c ASoC: Tegra: Move DAS configuration into machine drivers 2011-11-23 10:24:10 +00:00