summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-10-10 11:23:08 +0200
committerMark Brown <broonie@kernel.org>2017-10-10 11:23:08 +0200
commitd7346278ccb0fd839240d916e45851227e7ef9f4 (patch)
treee58458aa6f37f60f8d666d1e7ffea316134669ea /include/sound/soc.h
parentASoC: soc-core: add component lookup functions (diff)
parentASoC: soc-core: add snd_soc_add_component() (diff)
downloadlinux-d7346278ccb0fd839240d916e45851227e7ef9f4.tar.xz
linux-d7346278ccb0fd839240d916e45851227e7ef9f4.zip
Merge branch 'topic/component' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-core
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 11ca867033bd..eea3007a28f1 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -468,6 +468,11 @@ int snd_soc_register_codec(struct device *dev,
const struct snd_soc_codec_driver *codec_drv,
struct snd_soc_dai_driver *dai_drv, int num_dai);
void snd_soc_unregister_codec(struct device *dev);
+int snd_soc_add_component(struct device *dev,
+ struct snd_soc_component *component,
+ const struct snd_soc_component_driver *component_driver,
+ struct snd_soc_dai_driver *dai_drv,
+ int num_dai);
int snd_soc_register_component(struct device *dev,
const struct snd_soc_component_driver *component_driver,
struct snd_soc_dai_driver *dai_drv, int num_dai);