Skip to content

Commit

Permalink
ASoC: Fix typos in Atmel module registration
Browse files Browse the repository at this point in the history
I wish I had boards which work with unmodified kernels :/

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Dec 9, 2008
1 parent f075233 commit 471716f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sound/soc/atmel/atmel-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
5 changes: 3 additions & 2 deletions sound/soc/atmel/atmel_ssc_dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 471716f

Please sign in to comment.