blob: b6e42f933c407e3a6cb3d24851b9f773f1945062 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Balaji T Kee526d52014-05-09 22:16:53 +05302/*
3 * OMAP DMA Engine support
Balaji T Kee526d52014-05-09 22:16:53 +05304 */
5#ifndef __LINUX_OMAP_DMAENGINE_H
6#define __LINUX_OMAP_DMAENGINE_H
7
8struct dma_chan;
9
Linus Torvalds07888232014-06-10 14:35:22 -070010#if defined(CONFIG_DMA_OMAP) || (defined(CONFIG_DMA_OMAP_MODULE) && defined(MODULE))
Balaji T Kee526d52014-05-09 22:16:53 +053011bool 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 */