summaryrefslogtreecommitdiff
path: root/include/linux/dma/mmp-pdma.h
blob: 2dc9b2bc18fc53cd8d8652ab5f654587525a2648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _MMP_PDMA_H_
#define _MMP_PDMA_H_

struct dma_chan;

#ifdef CONFIG_MMP_PDMA
bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param);
#else
static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param)
{
	return false;
}
#endif

#endif /* _MMP_PDMA_H_ */