diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-10 07:47:22 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 07:47:22 +0100 |
commit | c9b3a40ff2b3dea9914e36965a17c802650bb603 (patch) | |
tree | 792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc/atmel | |
parent | 24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (diff) | |
download | op-kernel-dev-c9b3a40ff2b3dea9914e36965a17c802650bb603.zip op-kernel-dev-c9b3a40ff2b3dea9914e36965a17c802650bb603.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index 027eb13..1fac5ef 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 87904b6..c5d6790 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)); } |