summaryrefslogtreecommitdiff
path: root/include/linux/fsl/mxs-dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fsl/mxs-dma.h')
-rw-r--r--include/linux/fsl/mxs-dma.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/fsl/mxs-dma.h b/include/linux/fsl/mxs-dma.h
new file mode 100644
index 00000000..55d87023
--- /dev/null
+++ b/include/linux/fsl/mxs-dma.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __MACH_MXS_DMA_H__
+#define __MACH_MXS_DMA_H__
+
+#include <linux/dmaengine.h>
+
+struct mxs_dma_data {
+ int chan_irq;
+};
+
+extern int mxs_dma_is_apbh(struct dma_chan *chan);
+extern int mxs_dma_is_apbx(struct dma_chan *chan);
+#endif /* __MACH_MXS_DMA_H__ */