diff options
author | Vinod Koul <vinod.koul@intel.com> | 2011-01-14 08:52:48 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-17 08:50:08 -0500 |
commit | 70a7ca34dbdcc6f0ed332baf2b308bab2871424a (patch) | |
tree | 9f5effa903362d8b717bfd944551cd27e66ded4a /include | |
parent | 62ffac4d70ed996d303da0ac8e32c89b9810115c (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.h | 2 |
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 | ||
261 | int snd_soc_register_card(struct snd_soc_card *card); | ||
262 | int snd_soc_unregister_card(struct snd_soc_card *card); | ||
261 | int snd_soc_register_platform(struct device *dev, | 263 | int snd_soc_register_platform(struct device *dev, |
262 | struct snd_soc_platform_driver *platform_drv); | 264 | struct snd_soc_platform_driver *platform_drv); |
263 | void snd_soc_unregister_platform(struct device *dev); | 265 | void snd_soc_unregister_platform(struct device *dev); |