From: Boris Brezillon Date: Wed, 18 Jul 2018 08:56:50 +0000 (+0200) Subject: mtd: rawnand: orion: Avoid direct inclusion of asm headers X-Git-Tag: v4.19-rc1~171^2~2^2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c81d28ad4fe8899f3a17b204eeec6d37d698dd5b;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Miquel Raynal --- diff --git a/drivers/mtd/nand/raw/orion_nand.c b/drivers/mtd/nand/raw/orion_nand.c index 1a4828442675d..27cc902545f3f 100644 --- a/drivers/mtd/nand/raw/orion_nand.c +++ b/drivers/mtd/nand/raw/orion_nand.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include struct orion_nand_info {