summaryrefslogtreecommitdiff
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2011-01-14 19:22:48 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-17 13:50:08 +0000
commit70a7ca34dbdcc6f0ed332baf2b308bab2871424a (patch)
tree9f5effa903362d8b717bfd944551cd27e66ded4a /include/sound/soc.h
parent62ffac4d70ed996d303da0ac8e32c89b9810115c (diff)
ASoC: soc core allow machine driver to register the card
The machine driver can't register the card directly and need to do this thru soc-audio device creation This patch allows the register and unregister card to be directly called by machine drivers Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Harsha Priya <priya.harsha@intel.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 541ddfaa1243..9952254974b3 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -258,6 +258,8 @@ enum snd_soc_compress_type {
SND_SOC_RBTREE_COMPRESSION
};
+int snd_soc_register_card(struct snd_soc_card *card);
+int snd_soc_unregister_card(struct snd_soc_card *card);
int snd_soc_register_platform(struct device *dev,
struct snd_soc_platform_driver *platform_drv);
void snd_soc_unregister_platform(struct device *dev);