Skip to contentSkip to conversation

ASoC: dapm: Staticise dapm_mark_dirty()

PATCH New Mark Brown 1 participant 1 message Mar 6, 2014

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: dapm: Staticise dapm_mark_dirty()

From: Mark Brown <[email protected]>

The function is not called outside soc-dapm.c so there is no need for it to be exported.

---
 include/sound/soc-dapm.h | 1 -
 sound/soc/soc-dapm.c     | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
include/sound/soc-dapm.h +0 -1
index 04d32d8..ef78f56 100644
@@ -449,7 +449,6 @@ int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm,
 void snd_soc_dapm_auto_nc_codec_pins(struct snd_soc_codec *codec);
 
 /* Mostly internal - should not normally be used */
-void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason);
 void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm);
 
 /* dapm path query */
sound/soc/soc-dapm.c +1 -2
index 0d8ba30..3728e21 100644
@@ -142,7 +142,7 @@ static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
 	return !list_empty(&w->dirty);
 }
 
-void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
+static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
 {
 	if (!dapm_dirty_widget(w)) {
 		dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n",
@@ -150,7 +150,6 @@ void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason)
 		list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty);
 	}
 }
-EXPORT_SYMBOL_GPL(dapm_mark_dirty);
 
 void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm)
 {
Signature · 1 line
1.9.0