aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-03-06 03:15:48 -0500
committerMark Brown <broonie@linaro.org>2014-03-10 08:34:24 -0400
commit492c0a18b7b4f171b5af382541e72541de69f545 (patch)
tree163201c5d957043dc10604161275ebd2d6688635 /sound/soc/soc-dapm.c
parent17282ba4310cdad05f172d4dc1ebcb63d0b5de98 (diff)
ASoC: dapm: Staticise dapm_mark_dirty()
The function is not called outside soc-dapm.c so there is no need for it to be exported. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 77743e51420a..5a4376b41926 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -146,7 +146,7 @@ static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
146 return !list_empty(&w->dirty); 146 return !list_empty(&w->dirty);
147} 147}
148 148
149void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) 149static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
150{ 150{
151 if (!dapm_dirty_widget(w)) { 151 if (!dapm_dirty_widget(w)) {
152 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", 152 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n",
@@ -154,7 +154,6 @@ void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
154 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); 154 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty);
155 } 155 }
156} 156}
157EXPORT_SYMBOL_GPL(dapm_mark_dirty);
158 157
159void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm) 158void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm)
160{ 159{