ASoC: allow drivers to compile both static and dynamic

Based on where the code is synced the driver should allow
both static and dynamic linked compilation.
Also remove __exit for modules loaded from another common
init/exit functions.

Change-Id: Ib58f152002aba3af4446f9bbd9b82c279212bd0a
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
此提交包含在:
Asish Bhattacharya
2017-12-04 17:23:15 +05:30
提交者 Laxminath Kasam
父節點 50a527cf07
當前提交 5faacb3a7e
共有 72 個檔案被更改,包括 332 行新增327 行删除

查看文件

@@ -473,7 +473,7 @@ int __init audio_aac_init(void)
return ret;
}
void __exit audio_aac_exit(void)
void audio_aac_exit(void)
{
mutex_destroy(&audio_aac_ws_mgr.ws_lock);
misc_deregister(&audio_aac_misc);