[PATCH] dma: amba-pl08x: Export pl08x_filter_id

Subsystems: dma generic offload engine subsystem, the rest

STALE5108d

5 messages, 3 authors, 2012-08-16 · open the first message on its own page

[PATCH] dma: amba-pl08x: Export pl08x_filter_id

From: Roland Stigge <hidden>
Date: 2012-08-16 08:57:11

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 <redacted>
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

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-08-16 09:00:00

On Thursday 16 August 2012, Roland Stigge wrote:
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 <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

From: Russell King - ARM Linux <hidden>
Date: 2012-08-16 09:01:14

On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
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)
It is currently intended that this be passed from platform code into
drivers via platform data, so that drivers can decide which DMA engine
they wish to make use of.

See how all the AMBA drivers work in this regard (because they need to
support more than just a single DMA engine implementation.)

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-08-16 09:06:30

On Thursday 16 August 2012, Russell King - ARM Linux wrote:
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
quoted
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)
It is currently intended that this be passed from platform code into
drivers via platform data, so that drivers can decide which DMA engine
they wish to make use of.

See how all the AMBA drivers work in this regard (because they need to
support more than just a single DMA engine implementation.)
Ah, you're right, I forgot about that. I'll take back my Ack then.

	Arnd

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

From: Roland Stigge <hidden>
Date: 2012-08-16 13:13:53

On 08/16/2012 11:00 AM, Russell King - ARM Linux wrote:
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote:
quoted
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)
It is currently intended that this be passed from platform code into
drivers via platform data, so that drivers can decide which DMA engine
they wish to make use of.

See how all the AMBA drivers work in this regard (because they need to
support more than just a single DMA engine implementation.)
Thanks for the note!

I'll post respective changes to the MTD SLC and MLC drivers of LPC32xx
(for the MTD subsystem) and the adjustment I'll do in mach-lpc32xx (my
lpc32xx tree for arm-soc).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help