Skip to content

Commit c03f3cf

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
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>
1 parent 0beb487 commit c03f3cf

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/mtd/nand/raw/mxc_nand.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#include <linux/completion.h>
3535
#include <linux/of.h>
3636
#include <linux/of_device.h>
37-
38-
#include <asm/mach/flash.h>
3937
#include <linux/platform_data/mtd-mxc_nand.h>
4038

4139
#define DRIVER_NAME "mxc_nand"

0 commit comments

Comments
 (0)