Daniel Mack | 13b3006 | 2013-08-10 18:52:18 +0200 | [diff] [blame^] | 1 | #ifndef _MMP_PDMA_H_ |
2 | #define _MMP_PDMA_H_ | ||||
3 | |||||
4 | struct dma_chan; | ||||
5 | |||||
6 | #ifdef CONFIG_MMP_PDMA | ||||
7 | bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param); | ||||
8 | #else | ||||
9 | static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param) | ||||
10 | { | ||||
11 | return false; | ||||
12 | } | ||||
13 | #endif | ||||
14 | |||||
15 | #endif /* _MMP_PDMA_H_ */ |