diff mbox

[1/1] dma: pl08x: Export pl08x_filter_id

Message ID 1390473607-26136-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State Accepted
Commit 6d05c9fabfdc
Headers show

Commit Message

Sachin Kamat Jan. 23, 2014, 10:40 a.m. UTC
Export the symbol so that it is accessible to modules.
Fixes the following error:
ERROR: "pl08x_filter_id" [sound/soc/samsung/snd-soc-s3c-dma.ko] undefined!

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/dma/amba-pl08x.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Vinod Koul Jan. 28, 2014, 3:16 a.m. UTC | #1
On Thu, Jan 23, 2014 at 04:10:07PM +0530, Sachin Kamat wrote:
> Export the symbol so that it is accessible to modules.
> Fixes the following error:
> ERROR: "pl08x_filter_id" [sound/soc/samsung/snd-soc-s3c-dma.ko] undefined!

Applied, thanks
diff mbox

Patch

diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index f68f1c1d560b..8114731a1c62 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -83,6 +83,7 @@ 
 #include <linux/dmaengine.h>
 #include <linux/dmapool.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
@@ -1771,6 +1772,7 @@  bool pl08x_filter_id(struct dma_chan *chan, void *chan_id)
 
 	return false;
 }
+EXPORT_SYMBOL_GPL(pl08x_filter_id);
 
 /*
  * Just check that the device is there and active