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/omap | |
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/omap')
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/omap-pcm.c | 2 |
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 | ||
500 | EXPORT_SYMBOL_GPL(omap_mcbsp_dai); | 500 | EXPORT_SYMBOL_GPL(omap_mcbsp_dai); |
501 | 501 | ||
502 | static int __devinit omap_mcbsp_init(void) | 502 | static 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 | }; |
355 | EXPORT_SYMBOL_GPL(omap_soc_platform); | 355 | EXPORT_SYMBOL_GPL(omap_soc_platform); |
356 | 356 | ||
357 | static int __devinit omap_soc_platform_init(void) | 357 | static 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 | } |