summaryrefslogtreecommitdiffstats
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2012-03-06 22:34:26 +0000
committerVinod Koul <vinod.koul@linux.intel.com>2012-03-13 11:36:44 +0530
commitd2ebfb335b0426deb1a4fb14e4e926d81ecd8235 (patch)
tree222c90df3fe29a08de668d862ed25d203404c315 /drivers/dma/pl330.c
parent4d4e58de32a192fea65ab84509d17d199bd291c8 (diff)
downloadtalos-op-linux-d2ebfb335b0426deb1a4fb14e4e926d81ecd8235.tar.gz
talos-op-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/pl330.c')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 99c31a76e74e..2db70748403f 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -21,6 +21,8 @@
#include <linux/scatterlist.h>
#include <linux/of.h>
+#include "dmaengine.h"
+
#define NR_DEFAULT_DESC 16
enum desc_status {
OpenPOWER on IntegriCloud