Skip to content

Commit

Permalink
DMA: shdma: shdma_chan_filter() has to be in shdma-base.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guennadi Liakhovetski authored and Vinod Koul committed Jul 5, 2013
1 parent fa74326 commit d0951a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/sh_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions include/linux/shdma-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0951a2

Please sign in to comment.