mtd: rawnand: qcom: don't include dma-direct.h
PATCH 1/1 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.
--- drivers/mtd/nand/raw/qcom_nandc.c | 1 - include/linux/dma-mapping.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/mtd/nand/raw/qcom_nandc.c +0 -1
@@ -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
Quoted 10 lines · Christoph Hellwig
A recent commit removed the incorrect use of
phys_to_dmafrom this driver, but failed to remove thedma-direct.hinclude, so do that now.Signed-off-by Christoph Hellwig <[email protected]>--- drivers/mtd/nand/raw/qcom_nandc.c | 1 - include/linux/dma-mapping.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-)
Hmm, the diffstat does not match the diff itself.
Quoted 16 lines
drivers/mtd/nand/raw/qcom_nandc.c +0
-1@@ -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______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Signature · 2 lines
Thanks, //richard
Quoted 6 lines · Richard Weinberger
Quoted 5 lines · Christoph Hellwig
A recent commit removed the incorrect use of
phys_to_dmafrom this driver, but failed to remove thedma-direct.hinclude, so do that now.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Christoph Hellwig <[email protected]>--- drivers/mtd/nand/raw/qcom_nandc.c | 1 - include/linux/dma-mapping.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-)Hmm, the diffstat does not match the diff itself.
Tha's because it had an accidental hunk in my tree I removed when sending. I think you can trust the diff, but if you really want I can resend.
Hi Christoph,
Christoph Hellwig <[email protected]> wrote on Mon, 27 Aug 2018 14:31:07 +0200:
Quoted 13 lines · Richard Weinberger
Quoted 12 lines · Christoph Hellwig
Quoted 10 lines
A recent commit removed the incorrect use of
phys_to_dmafrom this driver, but failed to remove thedma-direct.hinclude, so do that now.Signed-off-by Christoph Hellwig <[email protected]>--- drivers/mtd/nand/raw/qcom_nandc.c | 1 - include/linux/dma-mapping.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-)
Quoted 5 lines
Quoted 1 line
Hmm, the diffstat does not match the diff itself.
Tha's because it had an accidental hunk in my tree I removed when sending. I think you can trust the diff, but if you really want I can resend.
Applied to nand/next.
Thanks,
Miquèl