projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0beb487
)
mtd: rawnand: mxc: Avoid inclusion of asm/mach headers
author
Boris Brezillon
<
[email protected]
>
Thu, 5 Jul 2018 09:45:07 +0000
(11:45 +0200)
committer
Miquel Raynal
<
[email protected]
>
Wed, 18 Jul 2018 07:34:18 +0000
(09:34 +0200)
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 <
[email protected]
>
Signed-off-by: Miquel Raynal <
[email protected]
>
drivers/mtd/nand/raw/mxc_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/mxc_nand.c
b/drivers/mtd/nand/raw/mxc_nand.c
index 90cfb5e730aa32f6a100d33dc912c93b6ee37d10..14ec7d975593d5b5a7c41d454c9801174d2ade8d 100644
(file)
--- a/
drivers/mtd/nand/raw/mxc_nand.c
+++ b/
drivers/mtd/nand/raw/mxc_nand.c
@@
-34,8
+34,6
@@
#include <linux/completion.h>
#include <linux/of.h>
#include <linux/of_device.h>
-
-#include <asm/mach/flash.h>
#include <linux/platform_data/mtd-mxc_nand.h>
#define DRIVER_NAME "mxc_nand"