aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:25:33 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-19 20:58:34 -0500
commitf6e6574499eeeeee747d9cfc7ba9f4328bb1806d (patch)
treed89c4674aed03b580600e76dea335f23169fa828 /sound/soc
parentf4a75d2eb7b1e2206094b901be09adb31ba63681 (diff)
ASoC: remove use of __devinitconst
CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm5100.c2
-rw-r--r--sound/soc/soc-core.c2
-rw-r--r--sound/soc/tegra/tegra20_das.c2
-rw-r--r--sound/soc/tegra/tegra20_i2s.c4
-rw-r--r--sound/soc/tegra/tegra20_spdif.c2
-rw-r--r--sound/soc/tegra/tegra30_ahub.c6
-rw-r--r--sound/soc/tegra/tegra30_i2s.c4
-rw-r--r--sound/soc/tegra/tegra_alc5632.c2
-rw-r--r--sound/soc/tegra/tegra_wm8753.c2
-rw-r--r--sound/soc/tegra/tegra_wm8903.c2
-rw-r--r--sound/soc/tegra/trimslice.c2
11 files changed, 15 insertions, 15 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 7f567585832e..9f57996ff272 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1233,7 +1233,7 @@ static const struct snd_soc_dapm_route wm5100_dapm_routes[] = {
1233 { "PWM2", NULL, "PWM2 Driver" }, 1233 { "PWM2", NULL, "PWM2 Driver" },
1234}; 1234};
1235 1235
1236static const __devinitconst struct reg_default wm5100_reva_patches[] = { 1236static const struct reg_default wm5100_reva_patches[] = {
1237 { WM5100_AUDIO_IF_1_10, 0 }, 1237 { WM5100_AUDIO_IF_1_10, 0 },
1238 { WM5100_AUDIO_IF_1_11, 1 }, 1238 { WM5100_AUDIO_IF_1_11, 1 },
1239 { WM5100_AUDIO_IF_1_12, 2 }, 1239 { WM5100_AUDIO_IF_1_12, 2 },
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 10d21be383f6..2153e19d8208 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4007,7 +4007,7 @@ int snd_soc_register_codec(struct device *dev,
4007 codec->reg_size = reg_size; 4007 codec->reg_size = reg_size;
4008 /* it is necessary to make a copy of the default register cache 4008 /* it is necessary to make a copy of the default register cache
4009 * because in the case of using a compression type that requires 4009 * because in the case of using a compression type that requires
4010 * the default register cache to be marked as __devinitconst the 4010 * the default register cache to be marked as the
4011 * kernel might have freed the array by the time we initialize 4011 * kernel might have freed the array by the time we initialize
4012 * the cache. 4012 * the cache.
4013 */ 4013 */
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c
index bf99296bce95..49653375970b 100644
--- a/sound/soc/tegra/tegra20_das.c
+++ b/sound/soc/tegra/tegra20_das.c
@@ -210,7 +210,7 @@ static int __devexit tegra20_das_remove(struct platform_device *pdev)
210 return 0; 210 return 0;
211} 211}
212 212
213static const struct of_device_id tegra20_das_of_match[] __devinitconst = { 213static const struct of_device_id tegra20_das_of_match[] = {
214 { .compatible = "nvidia,tegra20-das", }, 214 { .compatible = "nvidia,tegra20-das", },
215 {}, 215 {},
216}; 216};
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c
index 0832e8afd73c..2ae8af86edbd 100644
--- a/sound/soc/tegra/tegra20_i2s.c
+++ b/sound/soc/tegra/tegra20_i2s.c
@@ -463,12 +463,12 @@ static int __devexit tegra20_i2s_platform_remove(struct platform_device *pdev)
463 return 0; 463 return 0;
464} 464}
465 465
466static const struct of_device_id tegra20_i2s_of_match[] __devinitconst = { 466static const struct of_device_id tegra20_i2s_of_match[] = {
467 { .compatible = "nvidia,tegra20-i2s", }, 467 { .compatible = "nvidia,tegra20-i2s", },
468 {}, 468 {},
469}; 469};
470 470
471static const struct dev_pm_ops tegra20_i2s_pm_ops __devinitconst = { 471static const struct dev_pm_ops tegra20_i2s_pm_ops = {
472 SET_RUNTIME_PM_OPS(tegra20_i2s_runtime_suspend, 472 SET_RUNTIME_PM_OPS(tegra20_i2s_runtime_suspend,
473 tegra20_i2s_runtime_resume, NULL) 473 tegra20_i2s_runtime_resume, NULL)
474}; 474};
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c
index 3ebc8670ba00..d9641ef7b1ee 100644
--- a/sound/soc/tegra/tegra20_spdif.c
+++ b/sound/soc/tegra/tegra20_spdif.c
@@ -373,7 +373,7 @@ static int __devexit tegra20_spdif_platform_remove(struct platform_device *pdev)
373 return 0; 373 return 0;
374} 374}
375 375
376static const struct dev_pm_ops tegra20_spdif_pm_ops __devinitconst = { 376static const struct dev_pm_ops tegra20_spdif_pm_ops = {
377 SET_RUNTIME_PM_OPS(tegra20_spdif_runtime_suspend, 377 SET_RUNTIME_PM_OPS(tegra20_spdif_runtime_suspend,
378 tegra20_spdif_runtime_resume, NULL) 378 tegra20_spdif_runtime_resume, NULL)
379}; 379};
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c
index bf5610122c76..2269170b0df4 100644
--- a/sound/soc/tegra/tegra30_ahub.c
+++ b/sound/soc/tegra/tegra30_ahub.c
@@ -288,7 +288,7 @@ int tegra30_ahub_unset_rx_cif_source(enum tegra30_ahub_rxcif rxcif)
288} 288}
289EXPORT_SYMBOL_GPL(tegra30_ahub_unset_rx_cif_source); 289EXPORT_SYMBOL_GPL(tegra30_ahub_unset_rx_cif_source);
290 290
291static const char * const configlink_clocks[] __devinitconst = { 291static const char * const configlink_clocks[] = {
292 "i2s0", 292 "i2s0",
293 "i2s1", 293 "i2s1",
294 "i2s2", 294 "i2s2",
@@ -603,12 +603,12 @@ static int __devexit tegra30_ahub_remove(struct platform_device *pdev)
603 return 0; 603 return 0;
604} 604}
605 605
606static const struct of_device_id tegra30_ahub_of_match[] __devinitconst = { 606static const struct of_device_id tegra30_ahub_of_match[] = {
607 { .compatible = "nvidia,tegra30-ahub", }, 607 { .compatible = "nvidia,tegra30-ahub", },
608 {}, 608 {},
609}; 609};
610 610
611static const struct dev_pm_ops tegra30_ahub_pm_ops __devinitconst = { 611static const struct dev_pm_ops tegra30_ahub_pm_ops = {
612 SET_RUNTIME_PM_OPS(tegra30_ahub_runtime_suspend, 612 SET_RUNTIME_PM_OPS(tegra30_ahub_runtime_suspend,
613 tegra30_ahub_runtime_resume, NULL) 613 tegra30_ahub_runtime_resume, NULL)
614}; 614};
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c
index 44184228d1f0..bf0e089e7997 100644
--- a/sound/soc/tegra/tegra30_i2s.c
+++ b/sound/soc/tegra/tegra30_i2s.c
@@ -508,12 +508,12 @@ static int __devexit tegra30_i2s_platform_remove(struct platform_device *pdev)
508 return 0; 508 return 0;
509} 509}
510 510
511static const struct of_device_id tegra30_i2s_of_match[] __devinitconst = { 511static const struct of_device_id tegra30_i2s_of_match[] = {
512 { .compatible = "nvidia,tegra30-i2s", }, 512 { .compatible = "nvidia,tegra30-i2s", },
513 {}, 513 {},
514}; 514};
515 515
516static const struct dev_pm_ops tegra30_i2s_pm_ops __devinitconst = { 516static const struct dev_pm_ops tegra30_i2s_pm_ops = {
517 SET_RUNTIME_PM_OPS(tegra30_i2s_runtime_suspend, 517 SET_RUNTIME_PM_OPS(tegra30_i2s_runtime_suspend,
518 tegra30_i2s_runtime_resume, NULL) 518 tegra30_i2s_runtime_resume, NULL)
519}; 519};
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c
index 76cb1b363b71..523795a6e83e 100644
--- a/sound/soc/tegra/tegra_alc5632.c
+++ b/sound/soc/tegra/tegra_alc5632.c
@@ -242,7 +242,7 @@ static int __devexit tegra_alc5632_remove(struct platform_device *pdev)
242 return 0; 242 return 0;
243} 243}
244 244
245static const struct of_device_id tegra_alc5632_of_match[] __devinitconst = { 245static const struct of_device_id tegra_alc5632_of_match[] = {
246 { .compatible = "nvidia,tegra-audio-alc5632", }, 246 { .compatible = "nvidia,tegra-audio-alc5632", },
247 {}, 247 {},
248}; 248};
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c
index ea9166d5c4eb..effe5b41b5f9 100644
--- a/sound/soc/tegra/tegra_wm8753.c
+++ b/sound/soc/tegra/tegra_wm8753.c
@@ -200,7 +200,7 @@ static int __devexit tegra_wm8753_driver_remove(struct platform_device *pdev)
200 return 0; 200 return 0;
201} 201}
202 202
203static const struct of_device_id tegra_wm8753_of_match[] __devinitconst = { 203static const struct of_device_id tegra_wm8753_of_match[] = {
204 { .compatible = "nvidia,tegra-audio-wm8753", }, 204 { .compatible = "nvidia,tegra-audio-wm8753", },
205 {}, 205 {},
206}; 206};
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index cee13b7bfb94..0f794126fbe4 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -417,7 +417,7 @@ static int __devexit tegra_wm8903_driver_remove(struct platform_device *pdev)
417 return 0; 417 return 0;
418} 418}
419 419
420static const struct of_device_id tegra_wm8903_of_match[] __devinitconst = { 420static const struct of_device_id tegra_wm8903_of_match[] = {
421 { .compatible = "nvidia,tegra-audio-wm8903", }, 421 { .compatible = "nvidia,tegra-audio-wm8903", },
422 {}, 422 {},
423}; 423};
diff --git a/sound/soc/tegra/trimslice.c b/sound/soc/tegra/trimslice.c
index e69a4f7000d6..4a255a4d0c47 100644
--- a/sound/soc/tegra/trimslice.c
+++ b/sound/soc/tegra/trimslice.c
@@ -195,7 +195,7 @@ static int __devexit tegra_snd_trimslice_remove(struct platform_device *pdev)
195 return 0; 195 return 0;
196} 196}
197 197
198static const struct of_device_id trimslice_of_match[] __devinitconst = { 198static const struct of_device_id trimslice_of_match[] = {
199 { .compatible = "nvidia,tegra-audio-trimslice", }, 199 { .compatible = "nvidia,tegra-audio-trimslice", },
200 {}, 200 {},
201}; 201};