aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
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/omap
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/omap')
-rw-r--r--sound/soc/omap/omap-mcbsp.c2
-rw-r--r--sound/soc/omap/omap-pcm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 41cab2034163..39cc57ce4bfd 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -499,7 +499,7 @@ struct snd_soc_dai omap_mcbsp_dai[] = {
499 499
500EXPORT_SYMBOL_GPL(omap_mcbsp_dai); 500EXPORT_SYMBOL_GPL(omap_mcbsp_dai);
501 501
502static int __devinit omap_mcbsp_init(void) 502static int __init omap_mcbsp_init(void)
503{ 503{
504 return snd_soc_register_dais(omap_mcbsp_dai, 504 return snd_soc_register_dais(omap_mcbsp_dai,
505 ARRAY_SIZE(omap_mcbsp_dai)); 505 ARRAY_SIZE(omap_mcbsp_dai));
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 9940de296316..ce580a97cbd5 100644
--- a/sound/soc/omap/omap-pcm.c
+++ b/sound/soc/omap/omap-pcm.c
@@ -354,7 +354,7 @@ struct snd_soc_platform omap_soc_platform = {
354}; 354};
355EXPORT_SYMBOL_GPL(omap_soc_platform); 355EXPORT_SYMBOL_GPL(omap_soc_platform);
356 356
357static int __devinit omap_soc_platform_init(void) 357static int __init omap_soc_platform_init(void)
358{ 358{
359 return snd_soc_register_platform(&omap_soc_platform); 359 return snd_soc_register_platform(&omap_soc_platform);
360} 360}