]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/dma/mmp-pdma.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / include / linux / dma / mmp-pdma.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _MMP_PDMA_H_
3 #define _MMP_PDMA_H_
4
5 struct dma_chan;
6
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)
11 {
12 return false;
13 }
14 #endif
15
16 #endif /* _MMP_PDMA_H_ */