summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-18 10:56:50 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-31 09:45:50 +0200
commitc81d28ad4fe8899f3a17b204eeec6d37d698dd5b (patch)
tree57a9584bc0e8cdeff67861784007e6e9f3e3b63b
parentmtd: rawnand: micron: Make ECC activation stateful (diff)
downloadlinux-c81d28ad4fe8899f3a17b204eeec6d37d698dd5b.tar.xz
linux-c81d28ad4fe8899f3a17b204eeec6d37d698dd5b.zip
mtd: rawnand: orion: Avoid direct inclusion of asm headers
Include linux/sizes.h instead of asm/sizes.h to make code completely arch independent. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--drivers/mtd/nand/raw/orion_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/orion_nand.c b/drivers/mtd/nand/raw/orion_nand.c
index 1a4828442675..27cc902545f3 100644
--- a/drivers/mtd/nand/raw/orion_nand.c
+++ b/drivers/mtd/nand/raw/orion_nand.c
@@ -18,7 +18,7 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
-#include <asm/sizes.h>
+#include <linux/sizes.h>
#include <linux/platform_data/mtd-orion_nand.h>
struct orion_nand_info {