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

@@ -403,7 +403,7 @@ static struct miscdevice audio_wmapro_misc = {
.fops = &audio_wmapro_fops,
};
static int __init audio_wmapro_init(void)
int __init audio_wmapro_init(void)
{
int ret = misc_register(&audio_wmapro_misc);
@@ -415,4 +415,8 @@ static int __init audio_wmapro_init(void)
return ret;
}
device_initcall(audio_wmapro_init);
void __exit audio_wmapro_exit(void)
{
mutex_destroy(&audio_wmapro_ws_mgr.ws_lock);
misc_deregister(&audio_wmapro_misc);
}