diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-10 06:47:22 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 06:47:22 (GMT) |
commit | c9b3a40ff2b3dea9914e36965a17c802650bb603 (patch) | |
tree | 792d1cf3a52c6969661280e9b0f78ac4a981e3cd /sound/soc/davinci | |
parent | 24e07db8cceb7dfe2d4005e4450a27f4bcda6499 (diff) | |
download | linux-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/davinci')
-rw-r--r-- | sound/soc/davinci/davinci-i2s.c | 2 | ||||
-rw-r--r-- | sound/soc/davinci/davinci-pcm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c index d89fc2f..81ff5c3 100644 --- a/sound/soc/davinci/davinci-i2s.c +++ b/sound/soc/davinci/davinci-i2s.c @@ -481,7 +481,7 @@ struct snd_soc_dai davinci_i2s_dai = { }; EXPORT_SYMBOL_GPL(davinci_i2s_dai); -static int __devinit davinci_i2s_init(void) +static int __init davinci_i2s_init(void) { return snd_soc_register_dai(&davinci_i2s_dai); } diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index f1b6e02..bc83e1c 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c @@ -384,7 +384,7 @@ struct snd_soc_platform davinci_soc_platform = { }; EXPORT_SYMBOL_GPL(davinci_soc_platform); -static int __devinit davinci_soc_platform_init(void) +static int __init davinci_soc_platform_init(void) { return snd_soc_register_platform(&davinci_soc_platform); } |