Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / sa11x0-dma.h
blob65839a58b8e50d496e9b7025f7760f0645ec877f
1 /*
2 * SA11x0 DMA Engine support
4 * Copyright (C) 2012 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __LINUX_SA11X0_DMA_H
11 #define __LINUX_SA11X0_DMA_H
13 struct dma_chan;
15 #if defined(CONFIG_DMA_SA11X0) || defined(CONFIG_DMA_SA11X0_MODULE)
16 bool sa11x0_dma_filter_fn(struct dma_chan *, void *);
17 #else
18 static inline bool sa11x0_dma_filter_fn(struct dma_chan *c, void *d)
20 return false;
22 #endif
24 #endif