aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-10 01:47:22 -0500
committerTakashi Iwai <tiwai@suse.de>2008-12-10 01:47:22 -0500
commitc9b3a40ff2b3dea9914e36965a17c802650bb603 (patch)
tree792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc/atmel
parent24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (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/atmel')
-rw-r--r--sound/soc/atmel/atmel-pcm.c2
-rw-r--r--sound/soc/atmel/atmel_ssc_dai.c2
2 files changed, 2 insertions, 2 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};
478EXPORT_SYMBOL_GPL(atmel_soc_platform); 478EXPORT_SYMBOL_GPL(atmel_soc_platform);
479 479
480static int __devinit atmel_pcm_modinit(void) 480static 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};
773EXPORT_SYMBOL_GPL(atmel_ssc_dai); 773EXPORT_SYMBOL_GPL(atmel_ssc_dai);
774 774
775static int __devinit atmel_ssc_modinit(void) 775static 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}