Commit | Line | Data |
---|---|---|
a580b8c5 SG |
1 | /* |
2 | * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | #ifndef __MACH_MXS_DMA_H__ | |
10 | #define __MACH_MXS_DMA_H__ | |
11 | ||
d3144df5 DA |
12 | #include <linux/dmaengine.h> |
13 | ||
a580b8c5 SG |
14 | struct mxs_dma_data { |
15 | int chan_irq; | |
16 | }; | |
17 | ||
8c920136 SG |
18 | extern int mxs_dma_is_apbh(struct dma_chan *chan); |
19 | extern int mxs_dma_is_apbx(struct dma_chan *chan); | |
a580b8c5 | 20 | #endif /* __MACH_MXS_DMA_H__ */ |