mtd: atmel_nand: add missing include of linux/dmaengine.h
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue May 24 21:59:03 EDT 2011
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=5c39c4c54c585e13a8d6b5a8f64af682e7c68091
Commit: 5c39c4c54c585e13a8d6b5a8f64af682e7c68091
Parent: c2aad6d6585c320ed5e111db5e03d27e901dfa81
Author: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
AuthorDate: Wed Apr 13 15:55:17 2011 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed May 25 01:53:27 2011 +0100
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 at atmel.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/atmel_nand.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 950646a..380912f 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>
More information about the linux-mtd-cvs
mailing list