aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-10 07:47:22 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-10 07:47:22 +0100
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 41cab203416..39cc57ce4bf 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[] = {
EXPORT_SYMBOL_GPL(omap_mcbsp_dai);
-static int __devinit omap_mcbsp_init(void)
+static int __init omap_mcbsp_init(void)
{
return snd_soc_register_dais(omap_mcbsp_dai,
ARRAY_SIZE(omap_mcbsp_dai));
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 9940de29631..ce580a97cbd 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 = {
};
EXPORT_SYMBOL_GPL(omap_soc_platform);
-static int __devinit omap_soc_platform_init(void)
+static int __init omap_soc_platform_init(void)
{
return snd_soc_register_platform(&omap_soc_platform);
}