projects
/
lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: update yaffs code to the latest version
[lede.git]
/
target
/
linux
/
generic
/
files
/
fs
/
yaffs2
/
yaffs_mtdif.c
diff --git
a/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c
b/target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c
index 7ae63c54a903d2032ecc72aba5640d24203a44f5..7c01461ab93de21de9e5e272ec5bcfd58504255c 100644
(file)
--- a/
target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c
+++ b/
target/linux/generic/files/fs/yaffs2/yaffs_mtdif.c
@@
-22,12
+22,14
@@
#include "linux/kernel.h"
#include "linux/version.h"
#include "linux/types.h"
#include "linux/kernel.h"
#include "linux/version.h"
#include "linux/types.h"
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
+#include "uapi/linux/major.h"
+#endif
#include "yaffs_trace.h"
#include "yaffs_guts.h"
#include "yaffs_linux.h"
#include "yaffs_trace.h"
#include "yaffs_guts.h"
#include "yaffs_linux.h"
-
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0))
#define MTD_OPS_AUTO_OOB MTD_OOB_AUTO
#endif
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0))
#define MTD_OPS_AUTO_OOB MTD_OOB_AUTO
#endif