diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-10 01:47:22 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 01:47:22 -0500 |
commit | c9b3a40ff2b3dea9914e36965a17c802650bb603 (patch) | |
tree | 792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc | |
parent | 24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (diff) |
ALSA: ASoC - Fix wrong section types
The module init entries should be __init instead of __devinit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
41 files changed, 41 insertions, 41 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index 027eb13f9dd0..1fac5efd285b 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c | |||
@@ -477,7 +477,7 @@ struct snd_soc_platform atmel_soc_platform = { | |||
477 | }; | 477 | }; |
478 | EXPORT_SYMBOL_GPL(atmel_soc_platform); | 478 | EXPORT_SYMBOL_GPL(atmel_soc_platform); |
479 | 479 | ||
480 | static int __devinit atmel_pcm_modinit(void) | 480 | static int __init atmel_pcm_modinit(void) |
481 | { | 481 | { |
482 | return snd_soc_register_platform(&atmel_soc_platform); | 482 | return snd_soc_register_platform(&atmel_soc_platform); |
483 | } | 483 | } |
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 87904b6ab8c2..c5d67900d666 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c | |||
@@ -772,7 +772,7 @@ struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = { | |||
772 | }; | 772 | }; |
773 | EXPORT_SYMBOL_GPL(atmel_ssc_dai); | 773 | EXPORT_SYMBOL_GPL(atmel_ssc_dai); |
774 | 774 | ||
775 | static int __devinit atmel_ssc_modinit(void) | 775 | static int __init atmel_ssc_modinit(void) |
776 | { | 776 | { |
777 | return snd_soc_register_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai)); | 777 | return snd_soc_register_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai)); |
778 | } | 778 | } |
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c index 5b27e0d9d0ec..8067cfafa3a7 100644 --- a/sound/soc/blackfin/bf5xx-ac97-pcm.c +++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c | |||
@@ -451,7 +451,7 @@ struct snd_soc_platform bf5xx_ac97_soc_platform = { | |||
451 | }; | 451 | }; |
452 | EXPORT_SYMBOL_GPL(bf5xx_ac97_soc_platform); | 452 | EXPORT_SYMBOL_GPL(bf5xx_ac97_soc_platform); |
453 | 453 | ||
454 | static int __devinit bfin_ac97_init(void) | 454 | static int __init bfin_ac97_init(void) |
455 | { | 455 | { |
456 | return snd_soc_register_platform(&bf5xx_ac97_soc_platform); | 456 | return snd_soc_register_platform(&bf5xx_ac97_soc_platform); |
457 | } | 457 | } |
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c index ad3efeeb6d44..3be2be60576d 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c | |||
@@ -431,7 +431,7 @@ struct snd_soc_dai bfin_ac97_dai = { | |||
431 | }; | 431 | }; |
432 | EXPORT_SYMBOL_GPL(bfin_ac97_dai); | 432 | EXPORT_SYMBOL_GPL(bfin_ac97_dai); |
433 | 433 | ||
434 | static int __devinit bfin_ac97_init(void) | 434 | static int __init bfin_ac97_init(void) |
435 | { | 435 | { |
436 | return snd_soc_register_dai(&bfin_ac97_dai); | 436 | return snd_soc_register_dai(&bfin_ac97_dai); |
437 | } | 437 | } |
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.c b/sound/soc/blackfin/bf5xx-i2s-pcm.c index c58b12a44870..53d290b3ea47 100644 --- a/sound/soc/blackfin/bf5xx-i2s-pcm.c +++ b/sound/soc/blackfin/bf5xx-i2s-pcm.c | |||
@@ -283,7 +283,7 @@ struct snd_soc_platform bf5xx_i2s_soc_platform = { | |||
283 | }; | 283 | }; |
284 | EXPORT_SYMBOL_GPL(bf5xx_i2s_soc_platform); | 284 | EXPORT_SYMBOL_GPL(bf5xx_i2s_soc_platform); |
285 | 285 | ||
286 | static int __devinit bfin_i2s_init(void) | 286 | static int __init bfin_i2s_init(void) |
287 | { | 287 | { |
288 | return snd_soc_register_platform(&bf5xx_i2s_soc_platform); | 288 | return snd_soc_register_platform(&bf5xx_i2s_soc_platform); |
289 | } | 289 | } |
diff --git a/sound/soc/blackfin/bf5xx-i2s.c b/sound/soc/blackfin/bf5xx-i2s.c index 0d58d2b6db6a..c17b131f6626 100644 --- a/sound/soc/blackfin/bf5xx-i2s.c +++ b/sound/soc/blackfin/bf5xx-i2s.c | |||
@@ -313,7 +313,7 @@ struct snd_soc_dai bf5xx_i2s_dai = { | |||
313 | }; | 313 | }; |
314 | EXPORT_SYMBOL_GPL(bf5xx_i2s_dai); | 314 | EXPORT_SYMBOL_GPL(bf5xx_i2s_dai); |
315 | 315 | ||
316 | static int __devinit bfin_i2s_init(void) | 316 | static int __init bfin_i2s_init(void) |
317 | { | 317 | { |
318 | return snd_soc_register_dai(&bfin_i2s_dai); | 318 | return snd_soc_register_dai(&bfin_i2s_dai); |
319 | } | 319 | } |
diff --git a/sound/soc/codecs/ad73311.c b/sound/soc/codecs/ad73311.c index e32f55034e64..b09289a1e55a 100644 --- a/sound/soc/codecs/ad73311.c +++ b/sound/soc/codecs/ad73311.c | |||
@@ -98,7 +98,7 @@ struct snd_soc_codec_device soc_codec_dev_ad73311 = { | |||
98 | }; | 98 | }; |
99 | EXPORT_SYMBOL_GPL(soc_codec_dev_ad73311); | 99 | EXPORT_SYMBOL_GPL(soc_codec_dev_ad73311); |
100 | 100 | ||
101 | static int __devinit ad73311_init(void) | 101 | static int __init ad73311_init(void) |
102 | { | 102 | { |
103 | return snd_soc_register_dai(&ad73311_dai); | 103 | return snd_soc_register_dai(&ad73311_dai); |
104 | } | 104 | } |
diff --git a/sound/soc/codecs/ak4535.c b/sound/soc/codecs/ak4535.c index 94148fba9119..81300d8d42ca 100644 --- a/sound/soc/codecs/ak4535.c +++ b/sound/soc/codecs/ak4535.c | |||
@@ -688,7 +688,7 @@ struct snd_soc_codec_device soc_codec_dev_ak4535 = { | |||
688 | }; | 688 | }; |
689 | EXPORT_SYMBOL_GPL(soc_codec_dev_ak4535); | 689 | EXPORT_SYMBOL_GPL(soc_codec_dev_ak4535); |
690 | 690 | ||
691 | static int __devinit ak4535_modinit(void) | 691 | static int __init ak4535_modinit(void) |
692 | { | 692 | { |
693 | return snd_soc_register_dai(&ak4535_dai); | 693 | return snd_soc_register_dai(&ak4535_dai); |
694 | } | 694 | } |
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c index 73aaf249d782..f1aa0c34421c 100644 --- a/sound/soc/codecs/cs4270.c +++ b/sound/soc/codecs/cs4270.c | |||
@@ -774,7 +774,7 @@ struct snd_soc_codec_device soc_codec_device_cs4270 = { | |||
774 | }; | 774 | }; |
775 | EXPORT_SYMBOL_GPL(soc_codec_device_cs4270); | 775 | EXPORT_SYMBOL_GPL(soc_codec_device_cs4270); |
776 | 776 | ||
777 | static int __devinit cs4270_init(void) | 777 | static int __init cs4270_init(void) |
778 | { | 778 | { |
779 | return snd_soc_register_dai(&cs4270_dai); | 779 | return snd_soc_register_dai(&cs4270_dai); |
780 | } | 780 | } |
diff --git a/sound/soc/codecs/pcm3008.c b/sound/soc/codecs/pcm3008.c index f333e88ee255..9a3e67e5319c 100644 --- a/sound/soc/codecs/pcm3008.c +++ b/sound/soc/codecs/pcm3008.c | |||
@@ -195,7 +195,7 @@ struct snd_soc_codec_device soc_codec_dev_pcm3008 = { | |||
195 | }; | 195 | }; |
196 | EXPORT_SYMBOL_GPL(soc_codec_dev_pcm3008); | 196 | EXPORT_SYMBOL_GPL(soc_codec_dev_pcm3008); |
197 | 197 | ||
198 | static int __devinit pcm3008_init(void) | 198 | static int __init pcm3008_init(void) |
199 | { | 199 | { |
200 | return snd_soc_register_dai(&pcm3008_dai); | 200 | return snd_soc_register_dai(&pcm3008_dai); |
201 | } | 201 | } |
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 77fdcb4b9a1b..2325aefea411 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c | |||
@@ -793,7 +793,7 @@ struct snd_soc_codec_device soc_codec_dev_ssm2602 = { | |||
793 | }; | 793 | }; |
794 | EXPORT_SYMBOL_GPL(soc_codec_dev_ssm2602); | 794 | EXPORT_SYMBOL_GPL(soc_codec_dev_ssm2602); |
795 | 795 | ||
796 | static int __devinit ssm2602_modinit(void) | 796 | static int __init ssm2602_modinit(void) |
797 | { | 797 | { |
798 | return snd_soc_register_dai(&ssm2602_dai); | 798 | return snd_soc_register_dai(&ssm2602_dai); |
799 | } | 799 | } |
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c index eac449b92bd5..39f5b981d25a 100644 --- a/sound/soc/codecs/tlv320aic23.c +++ b/sound/soc/codecs/tlv320aic23.c | |||
@@ -847,7 +847,7 @@ struct snd_soc_codec_device soc_codec_dev_tlv320aic23 = { | |||
847 | }; | 847 | }; |
848 | EXPORT_SYMBOL_GPL(soc_codec_dev_tlv320aic23); | 848 | EXPORT_SYMBOL_GPL(soc_codec_dev_tlv320aic23); |
849 | 849 | ||
850 | static int __devinit tlv320aic23_modinit(void) | 850 | static int __init tlv320aic23_modinit(void) |
851 | { | 851 | { |
852 | return snd_soc_register_dai(&tlv320aic23_dai); | 852 | return snd_soc_register_dai(&tlv320aic23_dai); |
853 | } | 853 | } |
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c index ccd575961869..8da9e5d2e2fb 100644 --- a/sound/soc/codecs/tlv320aic3x.c +++ b/sound/soc/codecs/tlv320aic3x.c | |||
@@ -1411,7 +1411,7 @@ struct snd_soc_codec_device soc_codec_dev_aic3x = { | |||
1411 | }; | 1411 | }; |
1412 | EXPORT_SYMBOL_GPL(soc_codec_dev_aic3x); | 1412 | EXPORT_SYMBOL_GPL(soc_codec_dev_aic3x); |
1413 | 1413 | ||
1414 | static int __devinit aic3x_modinit(void) | 1414 | static int __init aic3x_modinit(void) |
1415 | { | 1415 | { |
1416 | return snd_soc_register_dai(&aic3x_dai); | 1416 | return snd_soc_register_dai(&aic3x_dai); |
1417 | } | 1417 | } |
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c index 8e035b5d733f..a2c5064a774b 100644 --- a/sound/soc/codecs/uda134x.c +++ b/sound/soc/codecs/uda134x.c | |||
@@ -651,7 +651,7 @@ struct snd_soc_codec_device soc_codec_dev_uda134x = { | |||
651 | }; | 651 | }; |
652 | EXPORT_SYMBOL_GPL(soc_codec_dev_uda134x); | 652 | EXPORT_SYMBOL_GPL(soc_codec_dev_uda134x); |
653 | 653 | ||
654 | static int __devinit uda134x_init(void) | 654 | static int __init uda134x_init(void) |
655 | { | 655 | { |
656 | return snd_soc_register_dai(&uda134x_dai); | 656 | return snd_soc_register_dai(&uda134x_dai); |
657 | } | 657 | } |
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c index 55a99b6a68a1..e6bf0844fbf3 100644 --- a/sound/soc/codecs/uda1380.c +++ b/sound/soc/codecs/uda1380.c | |||
@@ -841,7 +841,7 @@ struct snd_soc_codec_device soc_codec_dev_uda1380 = { | |||
841 | }; | 841 | }; |
842 | EXPORT_SYMBOL_GPL(soc_codec_dev_uda1380); | 842 | EXPORT_SYMBOL_GPL(soc_codec_dev_uda1380); |
843 | 843 | ||
844 | static int __devinit uda1380_modinit(void) | 844 | static int __init uda1380_modinit(void) |
845 | { | 845 | { |
846 | return snd_soc_register_dais(uda1380_dai, ARRAY_SIZE(uda1380_dai)); | 846 | return snd_soc_register_dais(uda1380_dai, ARRAY_SIZE(uda1380_dai)); |
847 | } | 847 | } |
diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c index a2af04bb4e9f..40f8238df717 100644 --- a/sound/soc/codecs/wm8510.c +++ b/sound/soc/codecs/wm8510.c | |||
@@ -889,7 +889,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8510 = { | |||
889 | }; | 889 | }; |
890 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8510); | 890 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8510); |
891 | 891 | ||
892 | static int __devinit wm8510_modinit(void) | 892 | static int __init wm8510_modinit(void) |
893 | { | 893 | { |
894 | return snd_soc_register_dai(&wm8510_dai); | 894 | return snd_soc_register_dai(&wm8510_dai); |
895 | } | 895 | } |
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 391ec2978aed..d004e5845298 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -1042,7 +1042,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8580 = { | |||
1042 | }; | 1042 | }; |
1043 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8580); | 1043 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8580); |
1044 | 1044 | ||
1045 | static int __devinit wm8580_modinit(void) | 1045 | static int __init wm8580_modinit(void) |
1046 | { | 1046 | { |
1047 | return snd_soc_register_dais(wm8580_dai, ARRAY_SIZE(wm8580_dai)); | 1047 | return snd_soc_register_dais(wm8580_dai, ARRAY_SIZE(wm8580_dai)); |
1048 | } | 1048 | } |
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c index d905e25b1a93..80b11983e137 100644 --- a/sound/soc/codecs/wm8728.c +++ b/sound/soc/codecs/wm8728.c | |||
@@ -568,7 +568,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8728 = { | |||
568 | }; | 568 | }; |
569 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8728); | 569 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8728); |
570 | 570 | ||
571 | static int __devinit wm8728_modinit(void) | 571 | static int __init wm8728_modinit(void) |
572 | { | 572 | { |
573 | return snd_soc_register_dai(&wm8728_dai); | 573 | return snd_soc_register_dai(&wm8728_dai); |
574 | } | 574 | } |
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 7b455a60d719..c444b9f2701e 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -793,7 +793,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8731 = { | |||
793 | }; | 793 | }; |
794 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8731); | 794 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8731); |
795 | 795 | ||
796 | static int __devinit wm8731_modinit(void) | 796 | static int __init wm8731_modinit(void) |
797 | { | 797 | { |
798 | return snd_soc_register_dai(&wm8731_dai); | 798 | return snd_soc_register_dai(&wm8731_dai); |
799 | } | 799 | } |
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c index 84a6307de907..5997fa68e0d5 100644 --- a/sound/soc/codecs/wm8750.c +++ b/sound/soc/codecs/wm8750.c | |||
@@ -1085,7 +1085,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8750 = { | |||
1085 | }; | 1085 | }; |
1086 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8750); | 1086 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8750); |
1087 | 1087 | ||
1088 | static int __devinit wm8750_modinit(void) | 1088 | static int __init wm8750_modinit(void) |
1089 | { | 1089 | { |
1090 | return snd_soc_register_dai(&wm8750_dai); | 1090 | return snd_soc_register_dai(&wm8750_dai); |
1091 | } | 1091 | } |
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 1caca30d0812..6c21b50c9375 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c | |||
@@ -1874,7 +1874,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8753 = { | |||
1874 | }; | 1874 | }; |
1875 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8753); | 1875 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8753); |
1876 | 1876 | ||
1877 | static int __devinit wm8753_modinit(void) | 1877 | static int __init wm8753_modinit(void) |
1878 | { | 1878 | { |
1879 | return snd_soc_register_dais(wm8753_dai, ARRAY_SIZE(wm8753_dai)); | 1879 | return snd_soc_register_dais(wm8753_dai, ARRAY_SIZE(wm8753_dai)); |
1880 | } | 1880 | } |
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 34e58af0c65a..ebf58fba1beb 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
@@ -1473,7 +1473,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8900 = { | |||
1473 | }; | 1473 | }; |
1474 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8900); | 1474 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8900); |
1475 | 1475 | ||
1476 | static int __devinit wm8900_modinit(void) | 1476 | static int __init wm8900_modinit(void) |
1477 | { | 1477 | { |
1478 | return i2c_add_driver(&wm8900_i2c_driver); | 1478 | return i2c_add_driver(&wm8900_i2c_driver); |
1479 | } | 1479 | } |
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 5d8fe7e1571e..0b5bea37e3dc 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -1809,7 +1809,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8903 = { | |||
1809 | }; | 1809 | }; |
1810 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8903); | 1810 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8903); |
1811 | 1811 | ||
1812 | static int __devinit wm8903_modinit(void) | 1812 | static int __init wm8903_modinit(void) |
1813 | { | 1813 | { |
1814 | return snd_soc_register_dai(&wm8903_dai); | 1814 | return snd_soc_register_dai(&wm8903_dai); |
1815 | } | 1815 | } |
diff --git a/sound/soc/codecs/wm8971.c b/sound/soc/codecs/wm8971.c index 2979fc4f44f1..88ead7f8dd98 100644 --- a/sound/soc/codecs/wm8971.c +++ b/sound/soc/codecs/wm8971.c | |||
@@ -935,7 +935,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8971 = { | |||
935 | 935 | ||
936 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8971); | 936 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8971); |
937 | 937 | ||
938 | static int __devinit wm8971_modinit(void) | 938 | static int __init wm8971_modinit(void) |
939 | { | 939 | { |
940 | return snd_soc_register_dai(&wm8971_dai); | 940 | return snd_soc_register_dai(&wm8971_dai); |
941 | } | 941 | } |
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index 53e71aafe6c6..5b5afc144478 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c | |||
@@ -1643,7 +1643,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8990 = { | |||
1643 | }; | 1643 | }; |
1644 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8990); | 1644 | EXPORT_SYMBOL_GPL(soc_codec_dev_wm8990); |
1645 | 1645 | ||
1646 | static int __devinit wm8990_modinit(void) | 1646 | static int __init wm8990_modinit(void) |
1647 | { | 1647 | { |
1648 | return snd_soc_register_dai(&wm8990_dai); | 1648 | return snd_soc_register_dai(&wm8990_dai); |
1649 | } | 1649 | } |
diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c index d89fc2f009ab..81ff5c37ab56 100644 --- a/sound/soc/davinci/davinci-i2s.c +++ b/sound/soc/davinci/davinci-i2s.c | |||
@@ -481,7 +481,7 @@ struct snd_soc_dai davinci_i2s_dai = { | |||
481 | }; | 481 | }; |
482 | EXPORT_SYMBOL_GPL(davinci_i2s_dai); | 482 | EXPORT_SYMBOL_GPL(davinci_i2s_dai); |
483 | 483 | ||
484 | static int __devinit davinci_i2s_init(void) | 484 | static int __init davinci_i2s_init(void) |
485 | { | 485 | { |
486 | return snd_soc_register_dai(&davinci_i2s_dai); | 486 | return snd_soc_register_dai(&davinci_i2s_dai); |
487 | } | 487 | } |
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index f1b6e02d24ed..bc83e1cbd176 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c | |||
@@ -384,7 +384,7 @@ struct snd_soc_platform davinci_soc_platform = { | |||
384 | }; | 384 | }; |
385 | EXPORT_SYMBOL_GPL(davinci_soc_platform); | 385 | EXPORT_SYMBOL_GPL(davinci_soc_platform); |
386 | 386 | ||
387 | static int __devinit davinci_soc_platform_init(void) | 387 | static int __init davinci_soc_platform_init(void) |
388 | { | 388 | { |
389 | return snd_soc_register_platform(&davinci_soc_platform); | 389 | return snd_soc_register_platform(&davinci_soc_platform); |
390 | } | 390 | } |
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index 646c807163ab..64993eda5679 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c | |||
@@ -853,7 +853,7 @@ int fsl_dma_configure(struct fsl_dma_info *dma_info) | |||
853 | } | 853 | } |
854 | EXPORT_SYMBOL_GPL(fsl_dma_configure); | 854 | EXPORT_SYMBOL_GPL(fsl_dma_configure); |
855 | 855 | ||
856 | static int __devinit fsl_soc_platform_init(void) | 856 | static int __init fsl_soc_platform_init(void) |
857 | { | 857 | { |
858 | return snd_soc_register_platform(&fsl_soc_platform); | 858 | return snd_soc_register_platform(&fsl_soc_platform); |
859 | } | 859 | } |
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 41cab2034163..39cc57ce4bfd 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
@@ -499,7 +499,7 @@ struct snd_soc_dai omap_mcbsp_dai[] = { | |||
499 | 499 | ||
500 | EXPORT_SYMBOL_GPL(omap_mcbsp_dai); | 500 | EXPORT_SYMBOL_GPL(omap_mcbsp_dai); |
501 | 501 | ||
502 | static int __devinit omap_mcbsp_init(void) | 502 | static int __init omap_mcbsp_init(void) |
503 | { | 503 | { |
504 | return snd_soc_register_dais(omap_mcbsp_dai, | 504 | return snd_soc_register_dais(omap_mcbsp_dai, |
505 | ARRAY_SIZE(omap_mcbsp_dai)); | 505 | ARRAY_SIZE(omap_mcbsp_dai)); |
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index 9940de296316..ce580a97cbd5 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/omap/omap-pcm.c | |||
@@ -354,7 +354,7 @@ struct snd_soc_platform omap_soc_platform = { | |||
354 | }; | 354 | }; |
355 | EXPORT_SYMBOL_GPL(omap_soc_platform); | 355 | EXPORT_SYMBOL_GPL(omap_soc_platform); |
356 | 356 | ||
357 | static int __devinit omap_soc_platform_init(void) | 357 | static int __init omap_soc_platform_init(void) |
358 | { | 358 | { |
359 | return snd_soc_register_platform(&omap_soc_platform); | 359 | return snd_soc_register_platform(&omap_soc_platform); |
360 | } | 360 | } |
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 3587f2fae5f1..73cb6b4c2f2d 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c | |||
@@ -913,7 +913,7 @@ struct snd_soc_dai pxa_ssp_dai[] = { | |||
913 | }; | 913 | }; |
914 | EXPORT_SYMBOL_GPL(pxa_ssp_dai); | 914 | EXPORT_SYMBOL_GPL(pxa_ssp_dai); |
915 | 915 | ||
916 | static int __devinit pxa_ssp_init(void) | 916 | static int __init pxa_ssp_init(void) |
917 | { | 917 | { |
918 | return snd_soc_register_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai)); | 918 | return snd_soc_register_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai)); |
919 | } | 919 | } |
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index f6249d5b492e..780db6757ad2 100644 --- a/sound/soc/pxa/pxa2xx-ac97.c +++ b/sound/soc/pxa/pxa2xx-ac97.c | |||
@@ -228,7 +228,7 @@ struct snd_soc_dai pxa_ac97_dai[] = { | |||
228 | EXPORT_SYMBOL_GPL(pxa_ac97_dai); | 228 | EXPORT_SYMBOL_GPL(pxa_ac97_dai); |
229 | EXPORT_SYMBOL_GPL(soc_ac97_ops); | 229 | EXPORT_SYMBOL_GPL(soc_ac97_ops); |
230 | 230 | ||
231 | static int __devinit pxa_ac97_init(void) | 231 | static int __init pxa_ac97_init(void) |
232 | { | 232 | { |
233 | return snd_soc_register_dais(pxa_ac97_dai, ARRAY_SIZE(pxa_ac97_dai)); | 233 | return snd_soc_register_dais(pxa_ac97_dai, ARRAY_SIZE(pxa_ac97_dai)); |
234 | } | 234 | } |
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 4fa1578f5d47..c670d08e7c9e 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -118,7 +118,7 @@ struct snd_soc_platform pxa2xx_soc_platform = { | |||
118 | }; | 118 | }; |
119 | EXPORT_SYMBOL_GPL(pxa2xx_soc_platform); | 119 | EXPORT_SYMBOL_GPL(pxa2xx_soc_platform); |
120 | 120 | ||
121 | static int __devinit pxa2xx_soc_platform_init(void) | 121 | static int __init pxa2xx_soc_platform_init(void) |
122 | { | 122 | { |
123 | return snd_soc_register_platform(&pxa2xx_soc_platform); | 123 | return snd_soc_register_platform(&pxa2xx_soc_platform); |
124 | } | 124 | } |
diff --git a/sound/soc/s3c24xx/s3c2412-i2s.c b/sound/soc/s3c24xx/s3c2412-i2s.c index 2cf050791562..f3fc0aba0aaf 100644 --- a/sound/soc/s3c24xx/s3c2412-i2s.c +++ b/sound/soc/s3c24xx/s3c2412-i2s.c | |||
@@ -736,7 +736,7 @@ struct snd_soc_dai s3c2412_i2s_dai = { | |||
736 | }; | 736 | }; |
737 | EXPORT_SYMBOL_GPL(s3c2412_i2s_dai); | 737 | EXPORT_SYMBOL_GPL(s3c2412_i2s_dai); |
738 | 738 | ||
739 | static int __devinit s3c2412_i2s_init(void) | 739 | static int __init s3c2412_i2s_init(void) |
740 | { | 740 | { |
741 | return snd_soc_register_dai(&s3c2412_i2s_dai); | 741 | return snd_soc_register_dai(&s3c2412_i2s_dai); |
742 | } | 742 | } |
diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c index 7360c6d913bd..723779a3058d 100644 --- a/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/sound/soc/s3c24xx/s3c2443-ac97.c | |||
@@ -396,7 +396,7 @@ struct snd_soc_dai s3c2443_ac97_dai[] = { | |||
396 | EXPORT_SYMBOL_GPL(s3c2443_ac97_dai); | 396 | EXPORT_SYMBOL_GPL(s3c2443_ac97_dai); |
397 | EXPORT_SYMBOL_GPL(soc_ac97_ops); | 397 | EXPORT_SYMBOL_GPL(soc_ac97_ops); |
398 | 398 | ||
399 | static int __devinit s3c2443_ac97_init(void) | 399 | static int __init s3c2443_ac97_init(void) |
400 | { | 400 | { |
401 | return snd_soc_register_dai(&s3c2443_ac97_dai); | 401 | return snd_soc_register_dai(&s3c2443_ac97_dai); |
402 | } | 402 | } |
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c index 897b1ac92cef..6f4d439b57aa 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.c +++ b/sound/soc/s3c24xx/s3c24xx-i2s.c | |||
@@ -482,7 +482,7 @@ struct snd_soc_dai s3c24xx_i2s_dai = { | |||
482 | }; | 482 | }; |
483 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_dai); | 483 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_dai); |
484 | 484 | ||
485 | static int __devinit s3c24xx_i2s_init(void) | 485 | static int __init s3c24xx_i2s_init(void) |
486 | { | 486 | { |
487 | return snd_soc_register_dai(&s3c24xx_i2s_dai); | 487 | return snd_soc_register_dai(&s3c24xx_i2s_dai); |
488 | } | 488 | } |
diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c index ea5a9caec13e..7c64d31d067e 100644 --- a/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c | |||
@@ -465,7 +465,7 @@ struct snd_soc_platform s3c24xx_soc_platform = { | |||
465 | }; | 465 | }; |
466 | EXPORT_SYMBOL_GPL(s3c24xx_soc_platform); | 466 | EXPORT_SYMBOL_GPL(s3c24xx_soc_platform); |
467 | 467 | ||
468 | static int __devinit s3c24xx_soc_platform_init(void) | 468 | static int __init s3c24xx_soc_platform_init(void) |
469 | { | 469 | { |
470 | return snd_soc_register_platform(&s3c24xx_soc_platform); | 470 | return snd_soc_register_platform(&s3c24xx_soc_platform); |
471 | } | 471 | } |
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c index 39ffca0933a2..0dad3a0bb920 100644 --- a/sound/soc/sh/dma-sh7760.c +++ b/sound/soc/sh/dma-sh7760.c | |||
@@ -348,7 +348,7 @@ struct snd_soc_platform sh7760_soc_platform = { | |||
348 | }; | 348 | }; |
349 | EXPORT_SYMBOL_GPL(sh7760_soc_platform); | 349 | EXPORT_SYMBOL_GPL(sh7760_soc_platform); |
350 | 350 | ||
351 | static int __devinit sh7760_soc_platform_init(void) | 351 | static int __init sh7760_soc_platform_init(void) |
352 | { | 352 | { |
353 | return snd_soc_register_platform(&sh7760_soc_platform); | 353 | return snd_soc_register_platform(&sh7760_soc_platform); |
354 | } | 354 | } |
diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c index 9169bad1acfb..eab31838badf 100644 --- a/sound/soc/sh/hac.c +++ b/sound/soc/sh/hac.c | |||
@@ -314,7 +314,7 @@ struct snd_soc_dai sh4_hac_dai[] = { | |||
314 | }; | 314 | }; |
315 | EXPORT_SYMBOL_GPL(sh4_hac_dai); | 315 | EXPORT_SYMBOL_GPL(sh4_hac_dai); |
316 | 316 | ||
317 | static int __devinit sh4_hac_init(void) | 317 | static int __init sh4_hac_init(void) |
318 | { | 318 | { |
319 | return snd_soc_register_dais(sh4_hac_dai, ARRAY_SIZE(sh4_hac_dai)); | 319 | return snd_soc_register_dais(sh4_hac_dai, ARRAY_SIZE(sh4_hac_dai)); |
320 | } | 320 | } |
diff --git a/sound/soc/sh/ssi.c b/sound/soc/sh/ssi.c index 9093588d4d07..d1e5390fddeb 100644 --- a/sound/soc/sh/ssi.c +++ b/sound/soc/sh/ssi.c | |||
@@ -392,7 +392,7 @@ struct snd_soc_dai sh4_ssi_dai[] = { | |||
392 | }; | 392 | }; |
393 | EXPORT_SYMBOL_GPL(sh4_ssi_dai); | 393 | EXPORT_SYMBOL_GPL(sh4_ssi_dai); |
394 | 394 | ||
395 | static int __devinit sh4_ssi_init(void) | 395 | static int __init sh4_ssi_init(void) |
396 | { | 396 | { |
397 | return snd_soc_register_dais(sh4_ssi_dai, ARRAY_SIZE(sh4_ssi_dai)); | 397 | return snd_soc_register_dais(sh4_ssi_dai, ARRAY_SIZE(sh4_ssi_dai)); |
398 | } | 398 | } |
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 76a89eb65baf..4d2db7cfaf4c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -2224,7 +2224,7 @@ void snd_soc_unregister_platform(struct snd_soc_platform *platform) | |||
2224 | } | 2224 | } |
2225 | EXPORT_SYMBOL_GPL(snd_soc_unregister_platform); | 2225 | EXPORT_SYMBOL_GPL(snd_soc_unregister_platform); |
2226 | 2226 | ||
2227 | static int __devinit snd_soc_init(void) | 2227 | static int __init snd_soc_init(void) |
2228 | { | 2228 | { |
2229 | #ifdef CONFIG_DEBUG_FS | 2229 | #ifdef CONFIG_DEBUG_FS |
2230 | debugfs_root = debugfs_create_dir("asoc", NULL); | 2230 | debugfs_root = debugfs_create_dir("asoc", NULL); |