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>
This commit is contained in:

committed by
Laxminath Kasam

parent
50a527cf07
commit
5faacb3a7e
@@ -1105,7 +1105,7 @@ int __init core_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __exit core_exit(void)
|
||||
void core_exit(void)
|
||||
{
|
||||
mutex_destroy(&q6core_lcl.cmd_lock);
|
||||
mutex_destroy(&q6core_lcl.ver_lock);
|
||||
|
Reference in New Issue
Block a user