Commit d0951a23383d09276f7976ed34d8f1cede629b48

Authored by Guennadi Liakhovetski
Committed by Vinod Koul
1 parent fa74326c44

DMA: shdma: shdma_chan_filter() has to be in shdma-base.h

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>

Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff

include/linux/sh_dma.h
... ... @@ -99,7 +99,5 @@
99 99 #define CHCR_TE 0x00000002
100 100 #define CHCR_IE 0x00000004
101 101  
102   -bool shdma_chan_filter(struct dma_chan *chan, void *arg);
103   -
104 102 #endif
include/linux/shdma-base.h
... ... @@ -122,6 +122,7 @@
122 122 int shdma_init(struct device *dev, struct shdma_dev *sdev,
123 123 int chan_num);
124 124 void shdma_cleanup(struct shdma_dev *sdev);
  125 +bool shdma_chan_filter(struct dma_chan *chan, void *arg);
125 126  
126 127 #endif