aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch')
-rw-r--r--target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch b/target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch
index 88531a6a7b..4858519ca1 100644
--- a/target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch
+++ b/target/linux/generic/patches-3.14/503-yaffs-add-tags-9bytes-mount-option.patch
@@ -82,13 +82,13 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+++ b/fs/yaffs2/yaffs_mtdif.c
@@ -16,6 +16,7 @@
#include "yaffs_mtdif.h"
-
+
#include "linux/mtd/mtd.h"
+#include "uapi/linux/major.h"
#include "linux/types.h"
#include "linux/time.h"
#include "linux/mtd/nand.h"
-@@ -277,7 +277,8 @@ struct mtd_info * yaffs_get_mtd_device(d
+@@ -276,7 +277,8 @@ struct mtd_info * yaffs_get_mtd_device(d
return mtd;
}
@@ -98,7 +98,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
{
if (yaffs_version == 2) {
if ((WRITE_SIZE(mtd) < YAFFS_MIN_YAFFS2_CHUNK_SIZE ||
-@@ -296,6 +297,12 @@ int yaffs_verify_mtd(struct mtd_info *mt
+@@ -295,6 +297,12 @@ int yaffs_verify_mtd(struct mtd_info *mt
);
return -1;
}