Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
8struct dma_chan;
9
10#if defined(CONFIG_DMA_OMAP) || (defined(CONFIG_DMA_OMAP_MODULE) && defined(MODULE))
11bool omap_dma_filter_fn(struct dma_chan *, void *);
12#else
13static 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 */