aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-12 12:41:03 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-13 06:01:49 -0400
commit4abe8e16a8ad879027de3a0a088f281577ad24a9 (patch)
tree5708d3a59ae41dcfe0d288af54266ec763c18da7 /sound/soc
parent8c7f78b3c3f3132a36b4747b2e1283a7ca015edb (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 7d22b5d5bc0d..225b5bd2802e 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3306,6 +3306,7 @@ static int __init snd_soc_init(void)
3306 3306
3307 return platform_driver_register(&soc_driver); 3307 return platform_driver_register(&soc_driver);
3308} 3308}
3309module_init(snd_soc_init);
3309 3310
3310static void __exit snd_soc_exit(void) 3311static void __exit snd_soc_exit(void)
3311{ 3312{
@@ -3314,8 +3315,6 @@ static void __exit snd_soc_exit(void)
3314#endif 3315#endif
3315 platform_driver_unregister(&soc_driver); 3316 platform_driver_unregister(&soc_driver);
3316} 3317}
3317
3318module_init(snd_soc_init);
3319module_exit(snd_soc_exit); 3318module_exit(snd_soc_exit);
3320 3319
3321/* Module information */ 3320/* Module information */