diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-10 01:47:22 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 01:47:22 -0500 |
commit | c9b3a40ff2b3dea9914e36965a17c802650bb603 (patch) | |
tree | 792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc/atmel | |
parent | 24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (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.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 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 | }; |
478 | EXPORT_SYMBOL_GPL(atmel_soc_platform); | 478 | EXPORT_SYMBOL_GPL(atmel_soc_platform); |
479 | 479 | ||
480 | static int __devinit atmel_pcm_modinit(void) | 480 | static 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 | }; |
773 | EXPORT_SYMBOL_GPL(atmel_ssc_dai); | 773 | EXPORT_SYMBOL_GPL(atmel_ssc_dai); |
774 | 774 | ||
775 | static int __devinit atmel_ssc_modinit(void) | 775 | static 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 | } |