Merge tag 'sound-5.3-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-2.6-microblaze.git] / include / linux / omap-dmaengine.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * OMAP DMA Engine support
4  */
5 #ifndef __LINUX_OMAP_DMAENGINE_H
6 #define __LINUX_OMAP_DMAENGINE_H
7
8 struct dma_chan;
9
10 #if defined(CONFIG_DMA_OMAP) || (defined(CONFIG_DMA_OMAP_MODULE) && defined(MODULE))
11 bool omap_dma_filter_fn(struct dma_chan *, void *);
12 #else
13 static inline bool omap_dma_filter_fn(struct dma_chan *c, void *d)
14 {
15         return false;
16 }
17 #endif
18 #endif /* __LINUX_OMAP_DMAENGINE_H */