diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-02-12 02:23:52 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-02-16 23:51:01 +0000 |
| commit | 238c863eb3d3c6ed58493bacfd1f4b36bdcfa92f (patch) | |
| tree | ab69c1213b155e001392c962ff95544d76e551f9 /include/sound | |
| parent | 11c1967f1a796bf2ff56a7118147f1d39d9f5ee0 (diff) | |
| download | linux-238c863eb3d3c6ed58493bacfd1f4b36bdcfa92f.tar.gz | |
ASoC: soc-core: makes snd_soc_set_dmi_name() local
soc-core.c only calls snd_soc_set_dmi_name(), so we don't need to have
EXPORT_SYMBOL_GPL() for it. Let's makes it local function.
No one uses *flavour parameter, let's remove it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87v7tfyk7b.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
| -rw-r--r-- | include/sound/soc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 16e4e488521c0c..62c90ef40f1a5d 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -522,16 +522,6 @@ int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, int snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd, unsigned int dai_fmt); -#ifdef CONFIG_DMI -int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour); -#else -static inline int snd_soc_set_dmi_name(struct snd_soc_card *card, - const char *flavour) -{ - return 0; -} -#endif - /* Utility functions to get clock rates from various things */ int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots); int snd_soc_params_to_frame_size(const struct snd_pcm_hw_params *params); |
