summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/atmel_ssc_dai.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-09 14:47:07 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-09 14:47:07 +0000
commit471716f7ea646487b7b5c7b3efc68a023b05a933 (patch)
tree3a97b1e06c9a07c4b3dbbed1f540a123a3cc9212 /sound/soc/atmel/atmel_ssc_dai.c
parentf0752331b89ce79063f765545dd7dd5f49d9a713 (diff)
downloadlinux-471716f7ea646487b7b5c7b3efc68a023b05a933.tar.gz
linux-471716f7ea646487b7b5c7b3efc68a023b05a933.tar.bz2
linux-471716f7ea646487b7b5c7b3efc68a023b05a933.zip
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/atmel/atmel_ssc_dai.c')
-rw-r--r--sound/soc/atmel/atmel_ssc_dai.c5
1 files changed, 3 insertions, 2 deletions
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)
{
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");