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:
@@ -211,7 +211,7 @@ static struct miscdevice audio_amrnb_misc = {
|
||||
.fops = &audio_amrnb_fops,
|
||||
};
|
||||
|
||||
static int __init audio_amrnb_init(void)
|
||||
int __init audio_amrnb_init(void)
|
||||
{
|
||||
int ret = misc_register(&audio_amrnb_misc);
|
||||
|
||||
@@ -223,4 +223,8 @@ static int __init audio_amrnb_init(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
device_initcall(audio_amrnb_init);
|
||||
void __exit audio_amrnb_exit(void)
|
||||
{
|
||||
mutex_destroy(&audio_amrnb_ws_mgr.ws_lock);
|
||||
misc_deregister(&audio_amrnb_misc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user