]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: soc-dapm: remove EXPORT_SYMBOL_GPL() for snd_soc_dapm_free()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 1 Jul 2025 00:10:27 +0000 (00:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jul 2025 15:13:00 +0000 (16:13 +0100)
snd_soc_dapm_free() is called from soc-dapm.c / soc-core.c only. All these
are compiled by snd-soc-core-y. So EXPORT_SYMBOL_GPL() is not needed. Remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87v7ochitp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c

index 091ab31ae42dd0a006f87328d13a5c771307ef97..98b35600904d41dec01da50fa32f8c3b66ffd5c0 100644 (file)
@@ -4883,7 +4883,6 @@ void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm)
        dapm_free_widgets(dapm);
        list_del(&dapm->list);
 }
-EXPORT_SYMBOL_GPL(snd_soc_dapm_free);
 
 void snd_soc_dapm_init(struct snd_soc_dapm_context *dapm,
                       struct snd_soc_card *card,