summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSudheer Papothi <spapothi@codeaurora.org>2016-01-29 05:16:51 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:53 -0700
commitd57ab70296e862da350be9797d4a7c8edc77c62d (patch)
treeaf2c9de2b204b63895bb9481b2c3bd48049e39b9 /include
parent6aa90dc7dc8b647a4c0b55f26691526910e259a1 (diff)
ASoC: dapm: mark dapm_kcontrol_get_wlist as global function
dapm_kcontrol_get_wlist() function needs to be called from driver other than the soc-dapm.c file itself. Mark this function as global function, so it can be accessed from other drivers. Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 242a683c71c6..d29e39ee28f4 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -456,6 +456,8 @@ int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream,
struct snd_soc_dapm_context *snd_soc_dapm_kcontrol_dapm(
struct snd_kcontrol *kcontrol);
+struct snd_soc_dapm_widget_list *dapm_kcontrol_get_wlist(
+ const struct snd_kcontrol *kcontrol);
struct snd_soc_dapm_widget *snd_soc_dapm_kcontrol_widget(
struct snd_kcontrol *kcontrol);