diff options
| -rw-r--r-- | include/sound/soc-dapm.h | 1 | ||||
| -rw-r--r-- | sound/soc/soc-dapm.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 3b991766a8f2..05aaaf689ac0 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
| @@ -471,7 +471,6 @@ int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm, | |||
| 471 | void snd_soc_dapm_auto_nc_codec_pins(struct snd_soc_codec *codec); | 471 | void snd_soc_dapm_auto_nc_codec_pins(struct snd_soc_codec *codec); |
| 472 | 472 | ||
| 473 | /* Mostly internal - should not normally be used */ | 473 | /* Mostly internal - should not normally be used */ |
| 474 | void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason); | ||
| 475 | void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm); | 474 | void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm); |
| 476 | 475 | ||
| 477 | /* dapm path query */ | 476 | /* dapm path query */ |
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 | ||
| 149 | void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) | 149 | static 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 | } |
| 157 | EXPORT_SYMBOL_GPL(dapm_mark_dirty); | ||
| 158 | 157 | ||
| 159 | void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm) | 158 | void dapm_mark_io_dirty(struct snd_soc_dapm_context *dapm) |
| 160 | { | 159 | { |
