Commit c9b3a40f authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ASoC - Fix wrong section types

The module init entries should be __init instead of __devinit.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 24e07db8
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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));
......
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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));
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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));
}
......
......@@ -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));
}
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment