Audio: DLKM support for all audio modules

Switch to DLKM for all audio kernel modules.

Change-Id: I6a96023a21f655f873531af9ace81f2b01eb0f58
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2017-10-05 01:44:16 +05:30
parent 97c9da7a1e
commit 8b1366a648
115 changed files with 5347 additions and 353 deletions

View File

@@ -330,7 +330,7 @@ static struct miscdevice audio_wma_misc = {
.fops = &audio_wma_fops,
};
static int __init audio_wma_init(void)
int __init audio_wma_init(void)
{
int ret = misc_register(&audio_wma_misc);
@@ -342,4 +342,8 @@ static int __init audio_wma_init(void)
return ret;
}
device_initcall(audio_wma_init);
void __exit audio_wma_exit(void)
{
mutex_destroy(&audio_wma_ws_mgr.ws_lock);
misc_deregister(&audio_wma_misc);
}