diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-18 10:56:50 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-31 09:45:50 +0200 |
commit | c81d28ad4fe8899f3a17b204eeec6d37d698dd5b (patch) | |
tree | 57a9584bc0e8cdeff67861784007e6e9f3e3b63b | |
parent | mtd: rawnand: micron: Make ECC activation stateful (diff) | |
download | linux-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.c | 2 |
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 { |