diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2026-07-23 06:34:57 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-05 00:39:35 +0100 |
| commit | 7050ee33c2db8e96bdbcd97f49a7ffa1d9b3ce1a (patch) | |
| tree | 624dbe70c33c5533dd24f89e589d0cd0935a8797 /include | |
| parent | 10c062304d2d13c5f8012ce82845b88cfd5fb815 (diff) | |
| download | linux-stable-7050ee33c2db8e96bdbcd97f49a7ffa1d9b3ce1a.tar.gz linux-stable-7050ee33c2db8e96bdbcd97f49a7ffa1d9b3ce1a.zip | |
ASoC: soc-core: makes snd_soc_component_initialize() / snd_soc_add_component() local
No one is calling snd_soc_component_initialize() / snd_soc_add_component()
calling from driver. Makes them local functions.
It renames
- snd_soc_add_component()
+ snd_soc_component_add()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/87ik66rz73.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index cb0de41e2ada..f46b2bc2a022 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -447,12 +447,6 @@ static inline int snd_soc_resume(struct device *dev) } #endif int snd_soc_poweroff(struct device *dev); -int snd_soc_component_initialize(struct snd_soc_component *component, - const struct snd_soc_component_driver *driver, - struct device *dev); -int snd_soc_add_component(struct snd_soc_component *component, - struct snd_soc_dai_driver *dai_drv, - int num_dai); int snd_soc_register_component_c(struct snd_soc_component *component, const struct snd_soc_component_driver *component_driver, struct snd_soc_dai_driver *dai_drv, int num_dai); |
