diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-09 09:47:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-09 09:47:07 -0500 |
commit | 471716f7ea646487b7b5c7b3efc68a023b05a933 (patch) | |
tree | 3a97b1e06c9a07c4b3dbbed1f540a123a3cc9212 /sound/soc | |
parent | f0752331b89ce79063f765545dd7dd5f49d9a713 (diff) |
ASoC: Fix typos in Atmel module registration
I wish I had boards which work with unmodified kernels :/
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/atmel/atmel-pcm.c | 2 | ||||
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index d6bcb4e6fda0..027eb13f9dd0 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c | |||
@@ -483,7 +483,7 @@ static int __devinit atmel_pcm_modinit(void) | |||
483 | } | 483 | } |
484 | module_init(atmel_pcm_modinit); | 484 | module_init(atmel_pcm_modinit); |
485 | 485 | ||
486 | static void __exit atmel_pcm_exit(void) | 486 | static void __exit atmel_pcm_modexit(void) |
487 | { | 487 | { |
488 | snd_soc_unregister_platform(&atmel_soc_platform); | 488 | snd_soc_unregister_platform(&atmel_soc_platform); |
489 | } | 489 | } |
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index c9f02edd7308..87904b6ab8c2 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c | |||
@@ -776,12 +776,13 @@ static int __devinit 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 | } |
779 | module_init(snd_soc_init); | 779 | module_init(atmel_ssc_modinit); |
780 | 780 | ||
781 | static void __exit snd_soc_exit(void) | 781 | static void __exit atmel_ssc_modexit(void) |
782 | { | 782 | { |
783 | snd_soc_unregister_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai)); | 783 | snd_soc_unregister_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai)); |
784 | } | 784 | } |
785 | module_exit(atmel_ssc_modexit); | ||
785 | 786 | ||
786 | /* Module information */ | 787 | /* Module information */ |
787 | MODULE_AUTHOR("Sedji Gaouaou, sedji.gaouaou@atmel.com, www.atmel.com"); | 788 | MODULE_AUTHOR("Sedji Gaouaou, sedji.gaouaou@atmel.com, www.atmel.com"); |