ALSA: ASoC - Fix wrong section types
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 06:47:22 +0000 (07:47 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 06:47:22 +0000 (07:47 +0100)
The module init entries should be __init instead of __devinit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
41 files changed:
sound/soc/atmel/atmel-pcm.c
sound/soc/atmel/atmel_ssc_dai.c
sound/soc/blackfin/bf5xx-ac97-pcm.c
sound/soc/blackfin/bf5xx-ac97.c
sound/soc/blackfin/bf5xx-i2s-pcm.c
sound/soc/blackfin/bf5xx-i2s.c
sound/soc/codecs/ad73311.c
sound/soc/codecs/ak4535.c
sound/soc/codecs/cs4270.c
sound/soc/codecs/pcm3008.c
sound/soc/codecs/ssm2602.c
sound/soc/codecs/tlv320aic23.c
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/uda134x.c
sound/soc/codecs/uda1380.c
sound/soc/codecs/wm8510.c
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8728.c
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8753.c
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8971.c
sound/soc/codecs/wm8990.c
sound/soc/davinci/davinci-i2s.c
sound/soc/davinci/davinci-pcm.c
sound/soc/fsl/fsl_dma.c
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-pcm.c
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-pcm.c
sound/soc/s3c24xx/s3c2412-i2s.c
sound/soc/s3c24xx/s3c2443-ac97.c
sound/soc/s3c24xx/s3c24xx-i2s.c
sound/soc/s3c24xx/s3c24xx-pcm.c
sound/soc/sh/dma-sh7760.c
sound/soc/sh/hac.c
sound/soc/sh/ssi.c
sound/soc/soc-core.c

index 027eb13f9dd014e9f85a27cbe5ae444628d78fbc..1fac5efd285bf72bce670fa6607237e1d582b610 100644 (file)
@@ -477,7 +477,7 @@ struct snd_soc_platform atmel_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(atmel_soc_platform);
 
-static int __devinit atmel_pcm_modinit(void)
+static int __init atmel_pcm_modinit(void)
 {
        return snd_soc_register_platform(&atmel_soc_platform);
 }
index 87904b6ab8c2e8d674d41d1bf8faea9439cf3ee6..c5d67900d666857d7baed233a39d31be01a5be3a 100644 (file)
@@ -772,7 +772,7 @@ struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = {
 };
 EXPORT_SYMBOL_GPL(atmel_ssc_dai);
 
-static int __devinit atmel_ssc_modinit(void)
+static int __init atmel_ssc_modinit(void)
 {
        return snd_soc_register_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai));
 }
index 5b27e0d9d0ecde46fe4ceda0464ec36642aae06e..8067cfafa3a703ea5e0f9dacb30f4c13e882f0ff 100644 (file)
@@ -451,7 +451,7 @@ struct snd_soc_platform bf5xx_ac97_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(bf5xx_ac97_soc_platform);
 
-static int __devinit bfin_ac97_init(void)
+static int __init bfin_ac97_init(void)
 {
        return snd_soc_register_platform(&bf5xx_ac97_soc_platform);
 }
index ad3efeeb6d44a8a3111278ec0262168659be0138..3be2be60576df8bc336f7a8130cdce27404d92a6 100644 (file)
@@ -431,7 +431,7 @@ struct snd_soc_dai bfin_ac97_dai = {
 };
 EXPORT_SYMBOL_GPL(bfin_ac97_dai);
 
-static int __devinit bfin_ac97_init(void)
+static int __init bfin_ac97_init(void)
 {
        return snd_soc_register_dai(&bfin_ac97_dai);
 }
index c58b12a44870942d30466eb481fc4de0c06adbc5..53d290b3ea47d9e2cf974cd1b83721f7199180da 100644 (file)
@@ -283,7 +283,7 @@ struct snd_soc_platform bf5xx_i2s_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(bf5xx_i2s_soc_platform);
 
-static int __devinit bfin_i2s_init(void)
+static int __init bfin_i2s_init(void)
 {
        return snd_soc_register_platform(&bf5xx_i2s_soc_platform);
 }
index 0d58d2b6db6a0c49e594dacd0723a3b26dfb5d77..c17b131f6626e6a5e13a84f4425e22fcfe08179a 100644 (file)
@@ -313,7 +313,7 @@ struct snd_soc_dai bf5xx_i2s_dai = {
 };
 EXPORT_SYMBOL_GPL(bf5xx_i2s_dai);
 
-static int __devinit bfin_i2s_init(void)
+static int __init bfin_i2s_init(void)
 {
        return snd_soc_register_dai(&bfin_i2s_dai);
 }
index e32f55034e64477dc512580608cca46c9b086cc7..b09289a1e55af93460f68cb6f5e76707a884a51a 100644 (file)
@@ -98,7 +98,7 @@ struct snd_soc_codec_device soc_codec_dev_ad73311 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_ad73311);
 
-static int __devinit ad73311_init(void)
+static int __init ad73311_init(void)
 {
        return snd_soc_register_dai(&ad73311_dai);
 }
index 94148fba911952dd5ab106219d789e1903e8ceee..81300d8d42ca2a5f2648665fec39aef5490c0f37 100644 (file)
@@ -688,7 +688,7 @@ struct snd_soc_codec_device soc_codec_dev_ak4535 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_ak4535);
 
-static int __devinit ak4535_modinit(void)
+static int __init ak4535_modinit(void)
 {
        return snd_soc_register_dai(&ak4535_dai);
 }
index 73aaf249d782a6007dc032f2d55fa35c06328cf3..f1aa0c34421c76f5e63f029847a62fc1a26d954f 100644 (file)
@@ -774,7 +774,7 @@ struct snd_soc_codec_device soc_codec_device_cs4270 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_device_cs4270);
 
-static int __devinit cs4270_init(void)
+static int __init cs4270_init(void)
 {
        return snd_soc_register_dai(&cs4270_dai);
 }
index f333e88ee255a631f16e65cbdcae1185a35a1d15..9a3e67e5319cccb6ff176def3bcc5f2403b78a1c 100644 (file)
@@ -195,7 +195,7 @@ struct snd_soc_codec_device soc_codec_dev_pcm3008 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_pcm3008);
 
-static int __devinit pcm3008_init(void)
+static int __init pcm3008_init(void)
 {
        return snd_soc_register_dai(&pcm3008_dai);
 }
index 77fdcb4b9a1b43943535dc8cd0764925b7416797..2325aefea4117222898a24f4f9b7fd8a85694ca5 100644 (file)
@@ -793,7 +793,7 @@ struct snd_soc_codec_device soc_codec_dev_ssm2602 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_ssm2602);
 
-static int __devinit ssm2602_modinit(void)
+static int __init ssm2602_modinit(void)
 {
        return snd_soc_register_dai(&ssm2602_dai);
 }
index eac449b92bd57f23fdca3264569083aad0d07611..39f5b981d25a3d269311887ec5e113e3f9a578c9 100644 (file)
@@ -847,7 +847,7 @@ struct snd_soc_codec_device soc_codec_dev_tlv320aic23 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_tlv320aic23);
 
-static int __devinit tlv320aic23_modinit(void)
+static int __init tlv320aic23_modinit(void)
 {
        return snd_soc_register_dai(&tlv320aic23_dai);
 }
index ccd575961869369b8ee03187c269e90a4cfb043e..8da9e5d2e2fbbe76ad237f4ef7904795869dc024 100644 (file)
@@ -1411,7 +1411,7 @@ struct snd_soc_codec_device soc_codec_dev_aic3x = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_aic3x);
 
-static int __devinit aic3x_modinit(void)
+static int __init aic3x_modinit(void)
 {
        return snd_soc_register_dai(&aic3x_dai);
 }
index 8e035b5d733ff51586d220ab53cbf21b93b72a78..a2c5064a774b12b1f65d16e92f88366f9facc26e 100644 (file)
@@ -651,7 +651,7 @@ struct snd_soc_codec_device soc_codec_dev_uda134x = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_uda134x);
 
-static int __devinit uda134x_init(void)
+static int __init uda134x_init(void)
 {
        return snd_soc_register_dai(&uda134x_dai);
 }
index 55a99b6a68a1efc484b6b5adae8cb7716fe07134..e6bf0844fbf3e4dd770b293bf01673f1be78c86d 100644 (file)
@@ -841,7 +841,7 @@ struct snd_soc_codec_device soc_codec_dev_uda1380 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_uda1380);
 
-static int __devinit uda1380_modinit(void)
+static int __init uda1380_modinit(void)
 {
        return snd_soc_register_dais(uda1380_dai, ARRAY_SIZE(uda1380_dai));
 }
index a2af04bb4e9fc632281acfae7ce759aeab203031..40f8238df7174d65b6c306fbd23e51d505a85d1c 100644 (file)
@@ -889,7 +889,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8510 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8510);
 
-static int __devinit wm8510_modinit(void)
+static int __init wm8510_modinit(void)
 {
        return snd_soc_register_dai(&wm8510_dai);
 }
index 391ec2978aed3921efb338b06935c1bb1f872fa0..d004e5845298d2b8e6f4871629b75c78702e8724 100644 (file)
@@ -1042,7 +1042,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8580 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8580);
 
-static int __devinit wm8580_modinit(void)
+static int __init wm8580_modinit(void)
 {
        return snd_soc_register_dais(wm8580_dai, ARRAY_SIZE(wm8580_dai));
 }
index d905e25b1a93db3cbedda096be69ead49b4ccc94..80b11983e1373802639f1f4a37ca25c2c2d4dfc6 100644 (file)
@@ -568,7 +568,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8728 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8728);
 
-static int __devinit wm8728_modinit(void)
+static int __init wm8728_modinit(void)
 {
        return snd_soc_register_dai(&wm8728_dai);
 }
index 7b455a60d719338488138d61548e945fed2920ec..c444b9f2701ed7625baa550cc0030bf35d6d6712 100644 (file)
@@ -793,7 +793,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8731 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8731);
 
-static int __devinit wm8731_modinit(void)
+static int __init wm8731_modinit(void)
 {
        return snd_soc_register_dai(&wm8731_dai);
 }
index 84a6307de9070be1024d3dee823bec33999f9028..5997fa68e0d58f08c1fb5af468e953bbb2a64ded 100644 (file)
@@ -1085,7 +1085,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8750 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8750);
 
-static int __devinit wm8750_modinit(void)
+static int __init wm8750_modinit(void)
 {
        return snd_soc_register_dai(&wm8750_dai);
 }
index 1caca30d081293e9be2727bc0a19e98b4129caac..6c21b50c93758f28c7aea6d59ae396405d232530 100644 (file)
@@ -1874,7 +1874,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8753 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8753);
 
-static int __devinit wm8753_modinit(void)
+static int __init wm8753_modinit(void)
 {
        return snd_soc_register_dais(wm8753_dai, ARRAY_SIZE(wm8753_dai));
 }
index 34e58af0c65a7d5bf99c0676644b1f2f4a27c7af..ebf58fba1beb2dd1e1602afa49e312ef35d39b4b 100644 (file)
@@ -1473,7 +1473,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8900 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8900);
 
-static int __devinit wm8900_modinit(void)
+static int __init wm8900_modinit(void)
 {
        return i2c_add_driver(&wm8900_i2c_driver);
 }
index 5d8fe7e1571e5cdc1787c322082b583657196fc0..0b5bea37e3dc3dfc30f3a4c58be46d3e6783fbd2 100644 (file)
@@ -1809,7 +1809,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8903 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8903);
 
-static int __devinit wm8903_modinit(void)
+static int __init wm8903_modinit(void)
 {
        return snd_soc_register_dai(&wm8903_dai);
 }
index 2979fc4f44f14296aad292d92776407887231524..88ead7f8dd98007cf4b909a06b30679ff65721d3 100644 (file)
@@ -935,7 +935,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8971 = {
 
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8971);
 
-static int __devinit wm8971_modinit(void)
+static int __init wm8971_modinit(void)
 {
        return snd_soc_register_dai(&wm8971_dai);
 }
index 53e71aafe6c6d252beb387c0957edea0e5d97af0..5b5afc14447817ede31e23807af451f4def6e989 100644 (file)
@@ -1643,7 +1643,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8990 = {
 };
 EXPORT_SYMBOL_GPL(soc_codec_dev_wm8990);
 
-static int __devinit wm8990_modinit(void)
+static int __init wm8990_modinit(void)
 {
        return snd_soc_register_dai(&wm8990_dai);
 }
index d89fc2f009ab58101130c715eafe9325d4109047..81ff5c37ab56df34e3ea044da920a632079fe122 100644 (file)
@@ -481,7 +481,7 @@ struct snd_soc_dai davinci_i2s_dai = {
 };
 EXPORT_SYMBOL_GPL(davinci_i2s_dai);
 
-static int __devinit davinci_i2s_init(void)
+static int __init davinci_i2s_init(void)
 {
        return snd_soc_register_dai(&davinci_i2s_dai);
 }
index f1b6e02d24ede737aae2f04354faf47a51274854..bc83e1cbd176b132e7b29282a07e53a019dff1b3 100644 (file)
@@ -384,7 +384,7 @@ struct snd_soc_platform davinci_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(davinci_soc_platform);
 
-static int __devinit davinci_soc_platform_init(void)
+static int __init davinci_soc_platform_init(void)
 {
        return snd_soc_register_platform(&davinci_soc_platform);
 }
index 646c807163abababef2605d4c06fc63458ef834f..64993eda5679ebce0cd582afe2fc48f74b7f0605 100644 (file)
@@ -853,7 +853,7 @@ int fsl_dma_configure(struct fsl_dma_info *dma_info)
 }
 EXPORT_SYMBOL_GPL(fsl_dma_configure);
 
-static int __devinit fsl_soc_platform_init(void)
+static int __init fsl_soc_platform_init(void)
 {
        return snd_soc_register_platform(&fsl_soc_platform);
 }
index 41cab2034163c898b9cf55d566d5903e0c4d4479..39cc57ce4bfd3b94611d7051aaf33fcc62d5e0d2 100644 (file)
@@ -499,7 +499,7 @@ struct snd_soc_dai omap_mcbsp_dai[] = {
 
 EXPORT_SYMBOL_GPL(omap_mcbsp_dai);
 
-static int __devinit omap_mcbsp_init(void)
+static int __init omap_mcbsp_init(void)
 {
        return snd_soc_register_dais(omap_mcbsp_dai,
                                     ARRAY_SIZE(omap_mcbsp_dai));
index 9940de296316a7576b1a3a5e824a12a9356fe3e1..ce580a97cbd578bfbaab2dba30f292f8763804df 100644 (file)
@@ -354,7 +354,7 @@ struct snd_soc_platform omap_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(omap_soc_platform);
 
-static int __devinit omap_soc_platform_init(void)
+static int __init omap_soc_platform_init(void)
 {
        return snd_soc_register_platform(&omap_soc_platform);
 }
index 3587f2fae5f1f7994aa18125db57d97bf913f422..73cb6b4c2f2d5efade62ae67848d56fcf23cbd03 100644 (file)
@@ -913,7 +913,7 @@ struct snd_soc_dai pxa_ssp_dai[] = {
 };
 EXPORT_SYMBOL_GPL(pxa_ssp_dai);
 
-static int __devinit pxa_ssp_init(void)
+static int __init pxa_ssp_init(void)
 {
        return snd_soc_register_dais(pxa_ssp_dai, ARRAY_SIZE(pxa_ssp_dai));
 }
index f6249d5b492e6d725233f4442b09cfef49596913..780db6757ad2ee4990887a78cc4485493ecab2b6 100644 (file)
@@ -228,7 +228,7 @@ struct snd_soc_dai pxa_ac97_dai[] = {
 EXPORT_SYMBOL_GPL(pxa_ac97_dai);
 EXPORT_SYMBOL_GPL(soc_ac97_ops);
 
-static int __devinit pxa_ac97_init(void)
+static int __init pxa_ac97_init(void)
 {
        return snd_soc_register_dais(pxa_ac97_dai, ARRAY_SIZE(pxa_ac97_dai));
 }
index 4fa1578f5d474cc43512398b281e5ce070fb56ee..c670d08e7c9ede6223b24b4ef78e8c2465859b89 100644 (file)
@@ -118,7 +118,7 @@ struct snd_soc_platform pxa2xx_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(pxa2xx_soc_platform);
 
-static int __devinit pxa2xx_soc_platform_init(void)
+static int __init pxa2xx_soc_platform_init(void)
 {
        return snd_soc_register_platform(&pxa2xx_soc_platform);
 }
index 2cf050791562f526c5017922a1fe9bf321949d37..f3fc0aba0aaf78755d2e0170eeabcc82d575f31b 100644 (file)
@@ -736,7 +736,7 @@ struct snd_soc_dai s3c2412_i2s_dai = {
 };
 EXPORT_SYMBOL_GPL(s3c2412_i2s_dai);
 
-static int __devinit s3c2412_i2s_init(void)
+static int __init s3c2412_i2s_init(void)
 {
        return snd_soc_register_dai(&s3c2412_i2s_dai);
 }
index 7360c6d913bdd461efdca819d4d7a3e7c8a79f30..723779a3058d3f998a41963e43e9b6b151062199 100644 (file)
@@ -396,7 +396,7 @@ struct snd_soc_dai s3c2443_ac97_dai[] = {
 EXPORT_SYMBOL_GPL(s3c2443_ac97_dai);
 EXPORT_SYMBOL_GPL(soc_ac97_ops);
 
-static int __devinit s3c2443_ac97_init(void)
+static int __init s3c2443_ac97_init(void)
 {
        return snd_soc_register_dai(&s3c2443_ac97_dai);
 }
index 897b1ac92cefdc4c7dc81ec79794ee3450693a7c..6f4d439b57aaecf4a388d8a2ce80c3caa9301ace 100644 (file)
@@ -482,7 +482,7 @@ struct snd_soc_dai s3c24xx_i2s_dai = {
 };
 EXPORT_SYMBOL_GPL(s3c24xx_i2s_dai);
 
-static int __devinit s3c24xx_i2s_init(void)
+static int __init s3c24xx_i2s_init(void)
 {
        return snd_soc_register_dai(&s3c24xx_i2s_dai);
 }
index ea5a9caec13eefd55d313bdb0c6c2f2c92271c99..7c64d31d067e7283714c070001cf4c7f99764f84 100644 (file)
@@ -465,7 +465,7 @@ struct snd_soc_platform s3c24xx_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(s3c24xx_soc_platform);
 
-static int __devinit s3c24xx_soc_platform_init(void)
+static int __init s3c24xx_soc_platform_init(void)
 {
        return snd_soc_register_platform(&s3c24xx_soc_platform);
 }
index 39ffca0933a254424110ce546160e8cf5eb45e4c..0dad3a0bb92018751b9101d5020cf32f1f0d2db2 100644 (file)
@@ -348,7 +348,7 @@ struct snd_soc_platform sh7760_soc_platform = {
 };
 EXPORT_SYMBOL_GPL(sh7760_soc_platform);
 
-static int __devinit sh7760_soc_platform_init(void)
+static int __init sh7760_soc_platform_init(void)
 {
        return snd_soc_register_platform(&sh7760_soc_platform);
 }
index 9169bad1acfbc03ca444e1e39afdb04c9b910458..eab31838badfed9515a93a97a8eb020d50e4688e 100644 (file)
@@ -314,7 +314,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
 };
 EXPORT_SYMBOL_GPL(sh4_hac_dai);
 
-static int __devinit sh4_hac_init(void)
+static int __init sh4_hac_init(void)
 {
        return snd_soc_register_dais(sh4_hac_dai, ARRAY_SIZE(sh4_hac_dai));
 }
index 9093588d4d07c23aad97e4f9bea1969cdc82764d..d1e5390fddeb7ff82c999aac717ca281e966864e 100644 (file)
@@ -392,7 +392,7 @@ struct snd_soc_dai sh4_ssi_dai[] = {
 };
 EXPORT_SYMBOL_GPL(sh4_ssi_dai);
 
-static int __devinit sh4_ssi_init(void)
+static int __init sh4_ssi_init(void)
 {
        return snd_soc_register_dais(sh4_ssi_dai, ARRAY_SIZE(sh4_ssi_dai));
 }
index 76a89eb65bafb25acf158b83575490b8ed15be24..4d2db7cfaf4c4cfcfb724ac639370be6233b4b1c 100644 (file)
@@ -2224,7 +2224,7 @@ void snd_soc_unregister_platform(struct snd_soc_platform *platform)
 }
 EXPORT_SYMBOL_GPL(snd_soc_unregister_platform);
 
-static int __devinit snd_soc_init(void)
+static int __init snd_soc_init(void)
 {
 #ifdef CONFIG_DEBUG_FS
        debugfs_root = debugfs_create_dir("asoc", NULL);