浏览代码

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>
Hans-Christian Egtvedt 14 年之前
父节点
当前提交
5c39c4c54c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mtd/nand/atmel_nand.c

+ 1 - 0
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>