public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] dma: amba-pl08x: Export pl08x_filter_id
@ 2012-08-16  8:56 Roland Stigge
  2012-08-16  8:59 ` Arnd Bergmann
  2012-08-16  9:00 ` Russell King - ARM Linux
  0 siblings, 2 replies; 5+ messages in thread
From: Roland Stigge @ 2012-08-16  8:56 UTC (permalink / raw)
  To: artem.bityutskiy, linux-arm-kernel, arnd, linux, linux-kernel,
	kevin.wells, srinivas.bakki, aletes.xgr, dwmw2, linux-mtd
  Cc: Roland Stigge

This patch fixes the following when compiling a driver module that uses
amba-pl08x:

ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined!
ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!

(drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git)

Done as in:

drivers/dma/coh901318.c
drivers/dma/sirf-dma.c

Signed-off-by: Roland Stigge <stigge@antcom.de>

diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c
index 6fbeebb..8c2e9b6 100644
--- a/drivers/dma/amba-pl08x.c
+++ b/drivers/dma/amba-pl08x.c
@@ -1608,6 +1608,7 @@ bool pl08x_filter_id(struct dma_chan *chan, void *chan_id)
 
 	return false;
 }
+EXPORT_SYMBOL(pl08x_filter_id);
 
 /*
  * Just check that the device is there and active

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

end of thread, other threads:[~2012-08-16 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16  8:56 [PATCH] dma: amba-pl08x: Export pl08x_filter_id Roland Stigge
2012-08-16  8:59 ` Arnd Bergmann
2012-08-16  9:00 ` Russell King - ARM Linux
2012-08-16  9:06   ` Arnd Bergmann
2012-08-16 13:13   ` Roland Stigge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox