All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] ASoC: wm5100: Export wm5100_detect
@ 2014-01-23 10:53 Sachin Kamat
  2014-01-23 11:46 ` Charles Keepax
  2014-01-23 12:22 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2014-01-23 10:53 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood, patches, patches

Export the symbol so that it is accessible to modules. Fixes the
following error:

ERROR: "wm5100_detect" [sound/soc/samsung/snd-soc-lowland.ko] undefined!

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/wm5100.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 4cf91deabc02..4e3e31aaf509 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -14,6 +14,7 @@
 #include <linux/moduleparam.h>
 #include <linux/init.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include <linux/pm.h>
 #include <linux/gcd.h>
 #include <linux/gpio.h>
@@ -2141,6 +2142,7 @@ int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(wm5100_detect);
 
 static irqreturn_t wm5100_irq(int irq, void *data)
 {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] ASoC: wm5100: Export wm5100_detect
  2014-01-23 10:53 [PATCH 2/2] ASoC: wm5100: Export wm5100_detect Sachin Kamat
@ 2014-01-23 11:46 ` Charles Keepax
  2014-01-23 12:22 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Charles Keepax @ 2014-01-23 11:46 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: patches, alsa-devel, broonie, lgirdwood, patches

On Thu, Jan 23, 2014 at 04:23:26PM +0530, Sachin Kamat wrote:
> Export the symbol so that it is accessible to modules. Fixes the
> following error:
> 
> ERROR: "wm5100_detect" [sound/soc/samsung/snd-soc-lowland.ko] undefined!
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] ASoC: wm5100: Export wm5100_detect
  2014-01-23 10:53 [PATCH 2/2] ASoC: wm5100: Export wm5100_detect Sachin Kamat
  2014-01-23 11:46 ` Charles Keepax
@ 2014-01-23 12:22 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-01-23 12:22 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, patches, lgirdwood, patches


[-- Attachment #1.1: Type: text/plain, Size: 166 bytes --]

On Thu, Jan 23, 2014 at 04:23:26PM +0530, Sachin Kamat wrote:
> Export the symbol so that it is accessible to modules. Fixes the
> following error:

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-23 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 10:53 [PATCH 2/2] ASoC: wm5100: Export wm5100_detect Sachin Kamat
2014-01-23 11:46 ` Charles Keepax
2014-01-23 12:22 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.