linux/sound/soc/codecs
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
..
88pm860x-codec.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
88pm860x-codec.h ASoC: add 88pm860x codec driver 2010-08-18 18:03:09 +01:00
ac97.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ad193x.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ad193x.h ASoC: ad193x: Fix define of AD193X_PLL_INPUT_MASK 2011-10-14 20:29:05 +01:00
ad1836.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ad1836.h ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSET 2011-11-22 13:06:14 +00:00
ad1980.c ASoC: Drop exporting ad1980_dai 2011-09-26 09:58:23 +01:00
ad1980.h Merge branch 'for-2.6.36' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into for-2.6.37 2010-08-15 14:56:40 +01:00
ad73311.c ASoC: ad73311: fix codec name 2011-03-30 07:17:01 +09:00
ad73311.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
adau1373.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
adau1373.h ASoC: Add ADAU1373 codec support 2011-08-17 00:53:54 +09:00
adau1701.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
adau1701.h ASoC: Add ADAU1701 codec driver 2011-06-16 11:24:17 +01:00
adav80x.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
adav80x.h ASoC: Add ADAV80x codec driver 2011-06-28 17:11:20 +01:00
ads117x.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
ak4104.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ak4535.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ak4535.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
ak4641.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ak4641.h ASoC: Asahi Kasei AK4641 codec driver 2011-05-19 14:10:45 -07:00
ak4642.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ak4671.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ak4671.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
alc5623.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
alc5623.h ASoC: add support for alc562[123] codecs 2010-10-21 13:51:13 -07:00
alc5632.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
alc5632.h ASoC: Convert ALC5632 codec to use regmap API 2011-11-16 10:41:56 +00:00
cq93vc.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
cs42l51.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
cs42l51.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
cs42l73.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
cs42l73.h ASoC: cs42l73: Unify the way to define bits of register 2011-11-22 13:02:09 +00:00
cs4270.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
cs4271.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
cx20442.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
cx20442.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
da7210.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
dfbmcs320.c ASoC: Add driver for the dfbmcs320 bluetooth module 2011-03-07 12:20:01 +00:00
dmic.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
jz4740.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
Kconfig ASoC: Add support for CS42L73 codec 2011-11-17 16:46:40 +00:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00:00
lm4857.c ASoC: Remove references to linux@wolfsonmicro.com 2011-10-06 11:10:01 +01:00
Makefile ASoC: Add support for CS42L73 codec 2011-11-17 16:46:40 +00:00
max9850.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
max9850.h ASoC: Add MAX9850 codec driver 2011-03-11 12:01:44 +00:00
max9877.c ASoC: max9877: Update register if either val or val2 is changed 2011-11-22 13:06:21 +00:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
max98088.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
max98088.h ASoC: codecs: max98088: Added digital mute function in DAI1 and DAI2 2011-05-15 21:26:36 -07:00
max98095.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
max98095.h ASoC: Add EQ and filter to max98095 CODEC driver 2011-04-20 13:50:41 +01:00
pcm3008.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
pcm3008.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
rt5631.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
rt5631.h ASoC: Add driver for rt5631 2011-09-21 15:52:23 +01:00
sgtl5000.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
sgtl5000.h ASoC: sgtl5000: Fix define for SGTL5000_BIAS_R_MASK 2011-10-19 13:08:18 +01:00
sn95031.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
sn95031.h ASoC: sn95031: Add support for reading mic bias 2011-02-09 22:32:53 +00:00
spdif_transciever.c ASoC: spdif-dit: Add missing MODULE_* 2011-05-20 11:19:29 +01:00
ssm2602.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
ssm2602.h ASoC: ssm2602: Support setting the oscillator and the clock output state 2011-09-27 13:30:48 +01:00
sta32x.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
sta32x.h ASoC: sta32x: preserve coefficient RAM 2011-11-14 21:32:12 +00:00
stac9766.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
stac9766.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic3x.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tlv320aic3x.h ASoC: tlv320aic3x: Reimplement output mixers 2010-08-28 10:57:58 +01:00
tlv320aic23.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tlv320aic23.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
tlv320aic26.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tlv320aic26.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tlv320aic32x4.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tlv320aic32x4.h ASoC: Add TI tlv320aic32x4 codec support. 2011-03-04 18:21:08 +00:00
tlv320dac33.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
tlv320dac33.h ASoC: tlv320dac33: Update e-mail address 2011-05-11 16:12:35 +01:00
tpa6130a2.c ASoC: tpa6130a2: Remove model_id from platform data 2011-09-21 16:07:45 +01:00
tpa6130a2.h ASoC: tpa6130a2: Update e-mail address 2011-05-11 16:12:45 +01:00
twl4030.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
twl6040.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
twl6040.h ASoC: twl6040: Function to fetch the TRIM values 2011-09-26 22:23:32 +01:00
uda134x.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
uda134x.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
uda1380.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
uda1380.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wl1273.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wl1273.h ASoC: WL1273 FM radio: Fix breakage with MFD API changes 2011-01-14 12:29:40 +00:00
wm1250-ev1.c ASoC: Set idle_bias_off for WM1250 EV1 2011-09-23 17:05:44 +01:00
wm2000.c ASoC: Move WM2000 to dev_pm_ops 2011-02-25 12:58:36 +00:00
wm2000.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm5100-tables.c ASoC: Remove WM5100 DSP memory windows from register default data 2011-11-21 18:11:43 +00:00
wm5100.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm5100.h ASoC: Convert wm5100 to direct regmap API usage 2011-11-08 14:13:50 +00:00
wm8350.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8350.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8400.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8400.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8510.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8510.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8523.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8523.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8580.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8580.h ASoC: Automatically calculate clock ratio for WM8580 2010-08-15 14:52:12 +01:00
wm8711.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8711.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8727.c ASoC: Staticise WM8727 codec driver structure 2010-08-12 16:10:55 +01:00
wm8728.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8728.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8731.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8731.h ASoC: Support non-crystal master clocks for WM8731 2010-08-18 16:52:56 +01:00
wm8737.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8737.h ASoC: Add initial WM8737 driver 2010-11-24 11:33:12 +00:00
wm8741.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8741.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8750.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8750.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8753.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8753.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8770.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8770.h ASoC: WM8770: Initial driver 2010-11-06 11:35:39 -04:00
wm8776.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8776.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8782.c ASoC: wm8782: Add __devexit_p at necessary place 2011-10-02 19:58:44 +01:00
wm8804.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8804.h ASoC: WM8804: Initial driver 2010-09-30 13:32:21 -07:00
wm8900.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8900.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8903.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8903.h Merge branch 'for-2.6.38' into for-2.6.39 2011-02-22 10:38:13 -08:00
wm8904.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8904.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8940.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8940.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8955.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8955.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8958-dsp2.c ASoC: Say how long short WM8958 DSP2 firmwares are 2011-11-16 17:33:58 +00:00
wm8960.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8960.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8961.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8961.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8962.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8962.h ASoC: Compress WM8962 register access map 2010-10-11 03:52:04 -07:00
wm8971.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8971.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8974.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8974.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8978.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8978.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8983.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8983.h ASoC: WM8983: Initial driver 2011-07-15 23:39:53 +09:00
wm8985.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8985.h ASoC: WM8985: Initial driver 2010-09-15 16:11:24 +01:00
wm8988.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8988.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8990.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8990.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8991.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8991.h ASoC: WM8991: Add initial WM8991 driver 2011-01-17 13:50:20 +00:00
wm8993.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8993.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm8994-tables.c ASoC: Add WM8958 noise gate support 2011-08-17 00:48:47 +09:00
wm8994.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8994.h ASoC: Disable WM8994 VMID for digital only paths 2011-08-14 13:44:23 +09:00
wm8995.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8995.h ASoC: Remove WM8995 write sequencer bitfield definitions 2010-12-24 11:32:45 +00:00
wm8996.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm8996.h ASoC: Rename WM8915 to WM8996 2011-08-08 14:30:37 +09:00
wm9081.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm9081.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9090.c ASoC: wm9090: fix DB_RANGE size 2011-11-20 15:46:51 +01:00
wm9090.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9705.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm9705.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9712.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm9712.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm9713.c ASoC: Constify snd_soc_dai_ops structs 2011-11-23 10:40:46 +00:00
wm9713.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
wm_hubs.c Merge branch 'for-3.2' into for-3.3 2011-11-21 11:28:19 +00:00
wm_hubs.h ASoC: Support separate left and right channel dcs_codes values 2011-08-01 22:14:49 +09:00