summaryrefslogtreecommitdiffstats
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux2012-03-06 23:34:26 +0100
committerVinod Koul2012-03-13 07:06:44 +0100
commitd2ebfb335b0426deb1a4fb14e4e926d81ecd8235 (patch)
tree222c90df3fe29a08de668d862ed25d203404c315 /drivers/dma/iop-adma.c
parentdmaengine: move last completed cookie into generic dma_chan structure (diff)
downloadkernel-qcow2-linux-d2ebfb335b0426deb1a4fb14e4e926d81ecd8235.tar.gz
kernel-qcow2-linux-d2ebfb335b0426deb1a4fb14e4e926d81ecd8235.tar.xz
kernel-qcow2-linux-d2ebfb335b0426deb1a4fb14e4e926d81ecd8235.zip
dmaengine: add private header file
Add a local private header file to contain definitions and declarations which should only be used by DMA engine drivers. We also fix linux/dmaengine.h to use LINUX_DMAENGINE_H to guard against multiple inclusion. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Jassi Brar <jassisinghbrar@gmail.com> [imx-sdma.c & mxs-dma.c] Tested-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
-rw-r--r--drivers/dma/iop-adma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index d8027c2b42c0..650bf1e185e8 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -36,6 +36,8 @@
#include <mach/adma.h>
+#include "dmaengine.h"
+
#define to_iop_adma_chan(chan) container_of(chan, struct iop_adma_chan, common)
#define to_iop_adma_device(dev) \
container_of(dev, struct iop_adma_device, common)