]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: dapm: Staticise dapm_mark_dirty()
authorMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 08:15:48 +0000 (16:15 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 12:34:24 +0000 (12:34 +0000)
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>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c

index 3b991766a8f2edef8d97f613eda3843a22ae4de8..05aaaf689ac03523d13f72315b3aaee1f7bc59e5 100644 (file)
@@ -471,7 +471,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 */
index 77743e51420a8d8a3a7b3371f998b9e50176e6a5..5a4376b41926e03265a06fe33b48aca52a5610d6 100644 (file)
@@ -146,7 +146,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",
@@ -154,7 +154,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)
 {