]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/omap-dmaengine.h
Merge branch 'x86-entry-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-eoan-kernel.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 */