aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2011-01-14 08:52:48 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-17 08:50:08 -0500
commit70a7ca34dbdcc6f0ed332baf2b308bab2871424a (patch)
tree9f5effa903362d8b717bfd944551cd27e66ded4a /include
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')
-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 {
258 SND_SOC_RBTREE_COMPRESSION 258 SND_SOC_RBTREE_COMPRESSION
259}; 259};
260 260
261int snd_soc_register_card(struct snd_soc_card *card);
262int snd_soc_unregister_card(struct snd_soc_card *card);
261int snd_soc_register_platform(struct device *dev, 263int snd_soc_register_platform(struct device *dev,
262 struct snd_soc_platform_driver *platform_drv); 264 struct snd_soc_platform_driver *platform_drv);
263void snd_soc_unregister_platform(struct device *dev); 265void snd_soc_unregister_platform(struct device *dev);