Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / include / linux / dma / mmp-pdma.h
blob25cab62a28c455e653f37527cd5348bb061132b2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _MMP_PDMA_H_
3 #define _MMP_PDMA_H_
5 struct dma_chan;
7 #ifdef CONFIG_MMP_PDMA
8 bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param);
9 #else
10 static inline bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param)
12 return false;
14 #endif
16 #endif /* _MMP_PDMA_H_ */