diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-12 17:41:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-13 11:01:49 +0100 |
commit | 4abe8e16a8ad879027de3a0a088f281577ad24a9 (patch) | |
tree | 5708d3a59ae41dcfe0d288af54266ec763c18da7 /sound/soc | |
parent | 8c7f78b3c3f3132a36b4747b2e1283a7ca015edb (diff) | |
download | kernel_samsung_aries-4abe8e16a8ad879027de3a0a088f281577ad24a9.zip kernel_samsung_aries-4abe8e16a8ad879027de3a0a088f281577ad24a9.tar.gz kernel_samsung_aries-4abe8e16a8ad879027de3a0a088f281577ad24a9.tar.bz2 |
ASoC: Move soc-core module init next to functon definition
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 7d22b5d..225b5bd 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3306,6 +3306,7 @@ static int __init snd_soc_init(void) return platform_driver_register(&soc_driver); } +module_init(snd_soc_init); static void __exit snd_soc_exit(void) { @@ -3314,8 +3315,6 @@ static void __exit snd_soc_exit(void) #endif platform_driver_unregister(&soc_driver); } - -module_init(snd_soc_init); module_exit(snd_soc_exit); /* Module information */ |