summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-02 21:52:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-02 21:52:35 +0000
commit4153c0adff074167f1eb934235129471d2c04199 (patch)
tree9e90c8956937880242065443a6da0d8a0ed22aff /target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch
parent6bfd210ade2a5d35950f56aeeac2d0ee1b8499e0 (diff)
downloadmtk-20170518-4153c0adff074167f1eb934235129471d2c04199.zip
mtk-20170518-4153c0adff074167f1eb934235129471d2c04199.tar.gz
mtk-20170518-4153c0adff074167f1eb934235129471d2c04199.tar.bz2
kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43805
Diffstat (limited to 'target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch')
-rw-r--r--target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch b/target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch
index 4a17ccd..0bb7be0 100644
--- a/target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch
+++ b/target/linux/generic/patches-3.18/411-mtd-partial_eraseblock_write.patch
@@ -2,7 +2,7 @@
+++ b/drivers/mtd/mtdpart.c
@@ -35,6 +35,8 @@
#include "mtdcore.h"
- #include "mtdsplit.h"
+ #include "mtdsplit/mtdsplit.h"
+#define MTD_ERASE_PARTIAL 0x8000 /* partition only covers parts of an erase block */
+