mtd: physmap_of: Add non-obsolete map_rom probe
[linux-2.6/btrfs-unstable.git] / include / linux / edma.h
bloba1307e7827e822aa9df2613dba78cc53e1137758
1 /*
2 * TI EDMA DMA engine driver
4 * Copyright 2012 Texas Instruments
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation version 2.
10 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
11 * kind, whether express or implied; without even the implied warranty
12 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 #ifndef __LINUX_EDMA_H
16 #define __LINUX_EDMA_H
18 struct dma_chan;
20 #if defined(CONFIG_TI_EDMA) || defined(CONFIG_TI_EDMA_MODULE)
21 bool edma_filter_fn(struct dma_chan *, void *);
22 #else
23 static inline bool edma_filter_fn(struct dma_chan *chan, void *param)
25 return false;
27 #endif
29 #endif