DMA: shdma: shdma_chan_filter() has to be in shdma-base.h
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 6 Jun 2013 15:37:14 +0000 (17:37 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:59 +0000 (11:40 +0530)
shdma_chan_filter() is a function, provided by the shdma-base.c module,
move its declaration to the appropriate header.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/sh_dma.h
include/linux/shdma-base.h

index b64d6bec6f903637617f06f153547295336d4133..4e83f3e034f3873d531580550a1940b4b49f6461 100644 (file)
@@ -99,6 +99,4 @@ struct sh_dmae_pdata {
 #define CHCR_TE        0x00000002
 #define CHCR_IE        0x00000004
 
-bool shdma_chan_filter(struct dma_chan *chan, void *arg);
-
 #endif
index a3728bf66f0e92633dd2a2d787969320e7e812bb..9a938971bc4ad6fb49d4aa37eb1e5ad2f241aaf1 100644 (file)
@@ -122,5 +122,6 @@ void shdma_chan_remove(struct shdma_chan *schan);
 int shdma_init(struct device *dev, struct shdma_dev *sdev,
                    int chan_num);
 void shdma_cleanup(struct shdma_dev *sdev);
+bool shdma_chan_filter(struct dma_chan *chan, void *arg);
 
 #endif