Revert "ASoC: dapm: mark dapm_kcontrol_get_wlist as global function"
This reverts commit e5c7d7c1c600cbe44d38573a88ddbc26bcec89f4.
This change is no longer required as the wrapper available in upstream
snd_soc_dapm_kcontrol_widget() can be used for the same purpose of
accessing the parent widget for a given kcontrol.
Change-Id: I6af4b6cab1f51e3e9321573a08777dbedce62243
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 94ea909..d40bfef 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -423,14 +423,13 @@
kfree(data);
}
-struct snd_soc_dapm_widget_list *dapm_kcontrol_get_wlist(
+static struct snd_soc_dapm_widget_list *dapm_kcontrol_get_wlist(
const struct snd_kcontrol *kcontrol)
{
struct dapm_kcontrol_data *data = snd_kcontrol_chip(kcontrol);
return data->wlist;
}
-EXPORT_SYMBOL(dapm_kcontrol_get_wlist);
static int dapm_kcontrol_add_widget(struct snd_kcontrol *kcontrol,
struct snd_soc_dapm_widget *widget)