diff options
author | Banajit Goswami <bgoswami@codeaurora.org> | 2015-10-11 21:46:07 -0700 |
---|---|---|
committer | Banajit Goswami <bgoswami@codeaurora.org> | 2015-10-11 21:46:07 -0700 |
commit | 4dc87fb68f3dde4fee8fdef828067bf1e6812fe3 (patch) | |
tree | c097a4b52a509fd74c61f406150b27fb119d6f3a /hal/msm8960 | |
parent | a6cc9b17f39c114c55895994bc89ec7cd8fd554e (diff) | |
download | hardware_qcom_audio-4dc87fb68f3dde4fee8fdef828067bf1e6812fe3.tar.gz hardware_qcom_audio-4dc87fb68f3dde4fee8fdef828067bf1e6812fe3.tar.bz2 hardware_qcom_audio-4dc87fb68f3dde4fee8fdef828067bf1e6812fe3.zip |
hal: mark unused parameters correctly
Some of the parameters passed to functions in older platforms
are not used anymore, though we maintain the platform code for
backward compatibility.
Mark the unused parameter explicitely as __unused.
Change-Id: I814f5f233590ecfd3e79bf58b97ad6d37be74601
Diffstat (limited to 'hal/msm8960')
-rw-r--r-- | hal/msm8960/platform.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c index b72cae99..8d5004db 100644 --- a/hal/msm8960/platform.c +++ b/hal/msm8960/platform.c @@ -374,7 +374,7 @@ int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, } void platform_add_backend_name(char *mixer_path, snd_device_t snd_device, - struct audio_usecase *usecase) + struct audio_usecase *usecase __unused) { if (snd_device == SND_DEVICE_IN_BT_SCO_MIC) strlcat(mixer_path, " bt-sco", MIXER_PATH_MAX_LENGTH); @@ -1172,3 +1172,8 @@ bool platform_send_gain_dep_cal(void *platform __unused, { return 0; } + +void platform_set_gsm_mode(void *platform __unused, bool enable __unused) +{ + ALOGE("%s: Not implemented", __func__); +} |