summaryrefslogtreecommitdiff
path: root/asoc/msm-pcm-voice-v2.c
diff options
context:
space:
mode:
authorAsish Bhattacharya <asishb@codeaurora.org>2017-12-04 17:23:15 +0530
committerLaxminath Kasam <lkasam@codeaurora.org>2017-12-07 19:57:27 +0530
commit5faacb3a7ee820c82ad76fad94e4f1c2c13169a2 (patch)
treed5cdaeee12cf1417fba67af7e6f39db4c7c5f4d0 /asoc/msm-pcm-voice-v2.c
parent50a527cf07f90c1141a8bd90482e30b40583691d (diff)
downloadmsm-extra-5faacb3a7ee820c82ad76fad94e4f1c2c13169a2.tar.gz
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>
Diffstat (limited to 'asoc/msm-pcm-voice-v2.c')
-rw-r--r--asoc/msm-pcm-voice-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asoc/msm-pcm-voice-v2.c b/asoc/msm-pcm-voice-v2.c
index 7b236b4f..b82c5871 100644
--- a/asoc/msm-pcm-voice-v2.c
+++ b/asoc/msm-pcm-voice-v2.c
@@ -770,7 +770,7 @@ int __init msm_pcm_voice_init(void)
return platform_driver_register(&msm_pcm_driver);
}
-void __exit msm_pcm_voice_exit(void)
+void msm_pcm_voice_exit(void)
{
platform_driver_unregister(&msm_pcm_driver);
}