[PATCH] ASoC: Fix typos in Atmel module registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wish I had boards which work with unmodified kernels :/

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 sound/soc/atmel/atmel-pcm.c     |    2 +-
 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 d6bcb4e..027eb13 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)
 }
 module_init(atmel_pcm_modinit);
 
-static void __exit atmel_pcm_exit(void)
+static void __exit atmel_pcm_modexit(void)
 {
 	snd_soc_unregister_platform(&atmel_soc_platform);
 }
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index c9f02ed..87904b6 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)
 {
 	return snd_soc_register_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai));
 }
-module_init(snd_soc_init);
+module_init(atmel_ssc_modinit);
 
-static void __exit snd_soc_exit(void)
+static void __exit atmel_ssc_modexit(void)
 {
 	snd_soc_unregister_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai));
 }
+module_exit(atmel_ssc_modexit);
 
 /* Module information */
 MODULE_AUTHOR("Sedji Gaouaou, sedji.gaouaou@xxxxxxxxx, www.atmel.com");
-- 
1.5.6.5

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux