summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/atmel_nand.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2011-04-13 15:55:17 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-25 02:53:27 +0200
commit5c39c4c54c585e13a8d6b5a8f64af682e7c68091 (patch)
treef5a65a10193a26eb9f7b4618558e3f08ea3e2e02 /drivers/mtd/nand/atmel_nand.c
parentmtd: nand: remove doubled chip deselection on (un)lock (diff)
downloadlinux-5c39c4c54c585e13a8d6b5a8f64af682e7c68091.tar.xz
linux-5c39c4c54c585e13a8d6b5a8f64af682e7c68091.zip
mtd: atmel_nand: add missing include of linux/dmaengine.h
Including linux/dmaengine.h fixes the missing definition of the enum dma_ctrl_flags type used in atmel_nand_dma_op function. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
-rw-r--r--drivers/mtd/nand/atmel_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 950646aa4c4b..380912f24ad8 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -30,6 +30,7 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
+#include <linux/dmaengine.h>
#include <linux/gpio.h>
#include <linux/io.h>