From: Mark Brown Date: Tue, 12 Oct 2010 16:41:03 +0000 (+0100) Subject: ASoC: Move soc-core module init next to functon definition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4abe8e16a8ad879027de3a0a088f281577ad24a9;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ASoC: Move soc-core module init next to functon definition Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 7d22b5d5bc0..225b5bd2802 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 */