summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_max98088.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_max98088.c')
-rw-r--r--sound/soc/tegra/tegra_max98088.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sound/soc/tegra/tegra_max98088.c b/sound/soc/tegra/tegra_max98088.c
index 61f45936e440..1a4650104c7a 100644
--- a/sound/soc/tegra/tegra_max98088.c
+++ b/sound/soc/tegra/tegra_max98088.c
@@ -82,7 +82,7 @@ const char *tegra_max98088_i2s_dai_name[TEGRA30_NR_I2S_IFC] = {
};
#endif
-static int g_is_call_mode;
+extern int g_is_call_mode;
struct tegra_max98088 {
struct tegra_asoc_utils_data util_data;
@@ -98,15 +98,6 @@ struct tegra_max98088 {
struct snd_soc_card *pcard;
};
-bool tegra_is_voice_call_active()
-{
- if (g_is_call_mode)
- return true;
- else
- return false;
-}
-EXPORT_SYMBOL_GPL(tegra_is_voice_call_active);
-
static int tegra_call_mode_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo)
{