[linux-yocto] [PATCH linux-yocto v4.14 & v4.15] yaffs2: include rawnand.h instead of nand.h

Kevin Hao kexin.hao at windriver.com
Thu Feb 22 21:31:33 PST 2018


The nand.h has been renamed to rawnand.h by commit d4092d76a4a4 ("mtd:
nand: Rename nand.h into rawnand.h"), adjust the yaffs2 code according
to this change.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
 fs/yaffs2/yaffs_mtdif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/yaffs2/yaffs_mtdif.c b/fs/yaffs2/yaffs_mtdif.c
index fa4b99834570..03a3d9c24e4c 100644
--- a/fs/yaffs2/yaffs_mtdif.c
+++ b/fs/yaffs2/yaffs_mtdif.c
@@ -18,7 +18,7 @@
 #include "linux/mtd/mtd.h"
 #include "linux/types.h"
 #include "linux/time.h"
-#include "linux/mtd/nand.h"
+#include "linux/mtd/rawnand.h"
 #include "linux/kernel.h"
 #include "linux/version.h"
 #include "linux/types.h"
-- 
2.9.3



More information about the linux-yocto mailing list