summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-10-11 21:16:44 +0530
committerVinod Koul <vinod.koul@intel.com>2014-10-15 21:31:27 +0530
commit0a5642be03293f73706961a7649ac1d12bd0be59 (patch)
tree158f2547dbcef8c5e4df0c290373ec4b106e3560 /include
parentb65612a868768cd0431084ccf376d0946c12132d (diff)
downloadlwn-0a5642be03293f73706961a7649ac1d12bd0be59.tar.gz
lwn-0a5642be03293f73706961a7649ac1d12bd0be59.zip
dmaengine: freescale: add and export fsl_dma_external_start()
The freescale driver uses custom device control FSLDMA_EXTERNAL_START to put the controller in external start mode. Since we are planning to deprecate the device control, move this to exported API. Subsequent patches will remove the FSLDMA_EXTERNAL_START Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsldma.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/fsldma.h b/include/linux/fsldma.h
new file mode 100644
index 000000000000..b213c02963c9
--- /dev/null
+++ b/include/linux/fsldma.h
@@ -0,0 +1,13 @@
+/*
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef FSL_DMA_H
+#define FSL_DMA_H
+/* fsl dma API for enxternal start */
+int fsl_dma_external_start(struct dma_chan *dchan, int enable);
+
+#endif