summaryrefslogtreecommitdiff
path: root/target/linux/x86/patches-3.14/012-export_erase_write.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-16 05:57:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-16 05:57:04 +0000
commit986b8baf9a9c84993d75fe4447a2fcfb027b1a55 (patch)
tree4f0dd8ec596904e5847d94d7bc9128c99630c33f /target/linux/x86/patches-3.14/012-export_erase_write.patch
parent7f7e0a21b854b54945299e960543bdc37d032914 (diff)
downloadmtk-20170518-986b8baf9a9c84993d75fe4447a2fcfb027b1a55.zip
mtk-20170518-986b8baf9a9c84993d75fe4447a2fcfb027b1a55.tar.gz
mtk-20170518-986b8baf9a9c84993d75fe4447a2fcfb027b1a55.tar.bz2
x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44805
Diffstat (limited to 'target/linux/x86/patches-3.14/012-export_erase_write.patch')
-rw-r--r--target/linux/x86/patches-3.14/012-export_erase_write.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/x86/patches-3.14/012-export_erase_write.patch b/target/linux/x86/patches-3.14/012-export_erase_write.patch
deleted file mode 100644
index 9927384..0000000
--- a/target/linux/x86/patches-3.14/012-export_erase_write.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/drivers/mtd/mtdblock.c
-+++ b/drivers/mtd/mtdblock.c
-@@ -63,7 +63,7 @@ static void erase_callback(struct erase_
- wake_up(wait_q);
- }
-
--static int erase_write (struct mtd_info *mtd, unsigned long pos,
-+int erase_write (struct mtd_info *mtd, unsigned long pos,
- int len, const char *buf)
- {
- struct erase_info erase;
---- a/include/linux/mtd/mtd.h
-+++ b/include/linux/mtd/mtd.h
-@@ -414,6 +414,9 @@ extern void register_mtd_user (struct mt
- extern int unregister_mtd_user (struct mtd_notifier *old);
- void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size);
-
-+int erase_write (struct mtd_info *mtd, unsigned long pos,
-+ int len, const char *buf);
-+
- void mtd_erase_callback(struct erase_info *instr);
-
- static inline int mtd_is_bitflip(int err) {