ASoC: Fix typos in Atmel module registration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 9 Dec 2008 14:47:07 +0000 (14:47 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 9 Dec 2008 14:47:07 +0000 (14:47 +0000)
I wish I had boards which work with unmodified kernels :/

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/atmel-pcm.c
sound/soc/atmel/atmel_ssc_dai.c

index d6bcb4e6fda01ab7bd2de6ad49ca9a9de6ca800f..027eb13f9dd014e9f85a27cbe5ae444628d78fbc 100644 (file)
@@ -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);
 }
index c9f02edd730858d0436fce4c5cd3dbd7a85578d9..87904b6ab8c2e8d674d41d1bf8faea9439cf3ee6 100644 (file)
@@ -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@atmel.com, www.atmel.com");