aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-06-24 23:51:58 -0400
committerVinod Koul <vinod.koul@intel.com>2015-06-24 23:51:58 -0400
commitf2704052cb42aabfa19b3f897cbceb70e2e63c45 (patch)
tree441522897d4b6dcc2d5197d7711280214326f190 /include/linux
parent4fb9c15b4f2371b8640c411ceff2c100857aee2c (diff)
parentc91134d9194478144ba579ca6efeddf628055650 (diff)
Merge branch 'topic/pxa' into for-linus
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma/pxa-dma.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/dma/pxa-dma.h b/include/linux/dma/pxa-dma.h
new file mode 100644
index 000000000000..3edc99294bf6
--- /dev/null
+++ b/include/linux/dma/pxa-dma.h
@@ -0,0 +1,27 @@
1#ifndef _PXA_DMA_H_
2#define _PXA_DMA_H_
3
4enum pxad_chan_prio {
5 PXAD_PRIO_HIGHEST = 0,
6 PXAD_PRIO_NORMAL,
7 PXAD_PRIO_LOW,
8 PXAD_PRIO_LOWEST,
9};
10
11struct pxad_param {
12 unsigned int drcmr;
13 enum pxad_chan_prio prio;
14};
15
16struct dma_chan;
17
18#ifdef CONFIG_PXA_DMA
19bool pxad_filter_fn(struct dma_chan *chan, void *param);
20#else
21static inline bool pxad_filter_fn(struct dma_chan *chan, void *param)
22{
23 return false;
24}
25#endif
26
27#endif /* _PXA_DMA_H_ */