Commit 471716f7 authored by Mark Brown's avatar Mark Brown

ASoC: Fix typos in Atmel module registration

I wish I had boards which work with unmodified kernels :/
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f0752331
...@@ -483,7 +483,7 @@ static int __devinit atmel_pcm_modinit(void) ...@@ -483,7 +483,7 @@ static int __devinit atmel_pcm_modinit(void)
} }
module_init(atmel_pcm_modinit); 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); snd_soc_unregister_platform(&atmel_soc_platform);
} }
......
...@@ -776,12 +776,13 @@ static int __devinit atmel_ssc_modinit(void) ...@@ -776,12 +776,13 @@ static int __devinit atmel_ssc_modinit(void)
{ {
return snd_soc_register_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai)); 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)); snd_soc_unregister_dais(atmel_ssc_dai, ARRAY_SIZE(atmel_ssc_dai));
} }
module_exit(atmel_ssc_modexit);
/* Module information */ /* Module information */
MODULE_AUTHOR("Sedji Gaouaou, sedji.gaouaou@atmel.com, www.atmel.com"); MODULE_AUTHOR("Sedji Gaouaou, sedji.gaouaou@atmel.com, www.atmel.com");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment