summaryrefslogtreecommitdiff
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-10 09:47:22 +0300
committerTakashi Iwai <tiwai@suse.de>2008-12-10 09:47:22 +0300
commitc9b3a40ff2b3dea9914e36965a17c802650bb603 (patch)
tree792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc/atmel
parent24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (diff)
downloadlinux-c9b3a40ff2b3dea9914e36965a17c802650bb603.tar.xz
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 = {
};
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);
}
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] = {
};
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));
}