Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: rawnand: mxc: Avoid inclusion of asm/mach headers

asm/mach/flash.h does not seem to be needed, drop this #include to make
the code completely machine and arch independent and allow one to
compile it when COMPILE_TEST=y.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Boris Brezillon and committed by
Miquel Raynal
c03f3cf3 0beb4872

-2
-2
drivers/mtd/nand/raw/mxc_nand.c
··· 34 34 #include <linux/completion.h> 35 35 #include <linux/of.h> 36 36 #include <linux/of_device.h> 37 - 38 - #include <asm/mach/flash.h> 39 37 #include <linux/platform_data/mtd-mxc_nand.h> 40 38 41 39 #define DRIVER_NAME "mxc_nand"