]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dapm: unexport dapm_mark_endpoints_dirty()
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 Feb 2025 16:53:08 +0000 (01:53 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 6 Feb 2025 16:28:01 +0000 (16:28 +0000)
The symbol provider (sound/soc/soc-dapm.c) and the symbol consumer
(sound/soc/soc-core.c) belong to the same module, snd-soc-core.ko.

There is no need to export it.

I deleted the comment, as other modules cannot use it any more.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://patch.msgid.link/20250205165310.3466254-1-masahiroy@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c

index 12cd7b5a2202e0cc4548c3ce1579e9e2d4cca092..7cf52c8c9cf3298c4f9eebac3fe492c56b81065b 100644 (file)
@@ -514,8 +514,6 @@ int snd_soc_dapm_force_enable_pin(struct snd_soc_dapm_context *dapm, const char
 int snd_soc_dapm_force_enable_pin_unlocked(struct snd_soc_dapm_context *dapm, const char *pin);
 int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm, const char *pin);
 unsigned int dapm_kcontrol_get_value(const struct snd_kcontrol *kcontrol);
-
-/* Mostly internal - should not normally be used */
 void dapm_mark_endpoints_dirty(struct snd_soc_card *card);
 
 /* dapm path query */
index a4d78af45e4b2e944373b0412a749dbd7a6fa994..420fe7dea31e9ca4cb3a2f34902a35e5745881d7 100644 (file)
@@ -317,7 +317,6 @@ void dapm_mark_endpoints_dirty(struct snd_soc_card *card)
 
        snd_soc_dapm_mutex_unlock(card);
 }
-EXPORT_SYMBOL_GPL(dapm_mark_endpoints_dirty);
 
 /* create a new dapm widget */
 static inline struct snd_soc_dapm_widget *dapm_cnew_widget(