[alsa-devel] [PATCH] ASoC: export snd_soc_register_component

Stephen Warren swarren at wwwdotorg.org
Tue Mar 26 23:38:19 CET 2013


From: Stephen Warren <swarren at nvidia.com>

Without this, modules will fail to link against those symbols.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 sound/soc/soc-core.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 7ae68b0..561d589 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4195,6 +4195,7 @@ error_component_name:
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(snd_soc_register_component);
 
 /**
  * snd_soc_unregister_component - Unregister a component from the ASoC core
@@ -4220,6 +4221,7 @@ found:
 	dev_dbg(dev, "ASoC: Unregistered component '%s'\n", cmpnt->name);
 	kfree(cmpnt->name);
 }
+EXPORT_SYMBOL_GPL(snd_soc_unregister_component);
 
 /* Retrieve a card's name from device tree */
 int snd_soc_of_parse_card_name(struct snd_soc_card *card,
-- 
1.7.10.4



More information about the Alsa-devel mailing list