diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2012-03-06 23:34:26 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-03-13 07:06:44 +0100 |
commit | d2ebfb335b0426deb1a4fb14e4e926d81ecd8235 (patch) | |
tree | 222c90df3fe29a08de668d862ed25d203404c315 /drivers/dma/dw_dmac.c | |
parent | dmaengine: move last completed cookie into generic dma_chan structure (diff) | |
download | linux-d2ebfb335b0426deb1a4fb14e4e926d81ecd8235.tar.xz 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/dw_dmac.c')
-rw-r--r-- | drivers/dma/dw_dmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 5bd23006ff4a..b279e1920725 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c @@ -23,6 +23,7 @@ #include <linux/slab.h> #include "dw_dmac_regs.h" +#include "dmaengine.h" /* * This supports the Synopsys "DesignWare AHB Central DMA Controller", |