From 4abe8e16a8ad879027de3a0a088f281577ad24a9 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 12 Oct 2010 17:41:03 +0100 Subject: ASoC: Move soc-core module init next to functon definition Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- sound/soc/soc-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sound/soc') 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) 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 */ -- cgit v1.2.3