diff options
author | Sudheer Papothi <spapothi@codeaurora.org> | 2016-01-29 05:16:51 +0530 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:10:53 -0700 |
commit | d57ab70296e862da350be9797d4a7c8edc77c62d (patch) | |
tree | af2c9de2b204b63895bb9481b2c3bd48049e39b9 /sound | |
parent | 6aa90dc7dc8b647a4c0b55f26691526910e259a1 (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 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 5c73bc21d41c..76eeff8b4a5c 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -423,13 +423,14 @@ static void dapm_kcontrol_free(struct snd_kcontrol *kctl) kfree(data); } -static struct snd_soc_dapm_widget_list *dapm_kcontrol_get_wlist( +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) |