ASoC: soc-core: add snd_soc_add_component()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 2 Oct 2017 05:10:17 +0000 (05:10 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 10 Oct 2017 09:18:58 +0000 (10:18 +0100)
commite0dac41b8c21d41534b04d520c1927c2b0ac9b5e
tree9fe2322e029a93eea4cc0f6d59ba2e3ea98676f0
parent840bc44849b9d7f8eaae34ac7b434e17c4cf7368
ASoC: soc-core: add snd_soc_add_component()

ALSA SoC platform/codec will be replaced to component soon.
But, some function exist in "platform" doesn't exist in "component".
Current soc-core has snd_soc_register_component(), but
doesn't have snd_soc_add_component() like snd_soc_add_platform().
This patch adds it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c