summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-27 10:59:43 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-09-04 23:37:38 +0200
commitab0fb17c7d46406e1aac2dda265874751946626d (patch)
tree452bd778a0cd5874caab43539141041250e6bbb4
parentmtd: rawnand: denali: use SPDX-License-Identifier and fix license mismatch (diff)
downloadlinux-ab0fb17c7d46406e1aac2dda265874751946626d.tar.xz
linux-ab0fb17c7d46406e1aac2dda265874751946626d.zip
mtd: rawnand: qcom: don't include dma-direct.h
A recent commit removed the incorrect use of phys_to_dma from this driver, but failed to remove the dma-direct.h include, so do that now. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--drivers/mtd/nand/raw/qcom_nandc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c
index d1d470bb32e4..d2831b0b28fb 100644
--- a/drivers/mtd/nand/raw/qcom_nandc.c
+++ b/drivers/mtd/nand/raw/qcom_nandc.c
@@ -23,7 +23,6 @@
#include <linux/of_device.h>
#include <linux/delay.h>
#include <linux/dma/qcom_bam_dma.h>
-#include <linux/dma-direct.h> /* XXX: drivers shall never use this directly! */
/* NANDc reg offsets */
#define NAND_FLASH_CMD 0x00