aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-3.10/012-export_erase_write.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-11 20:07:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-11 20:07:45 +0000
commit4b80e52575cd0bb2899ab93ae62dc6d4fc3c531a (patch)
tree1cda88a09681f791f81abb9f88e964a96233a7d8 /target/linux/x86/patches-3.10/012-export_erase_write.patch
parent3cc3c0a518292c6e500c08f17be000ece9675c28 (diff)
downloadupstream-4b80e52575cd0bb2899ab93ae62dc6d4fc3c531a.tar.gz
upstream-4b80e52575cd0bb2899ab93ae62dc6d4fc3c531a.tar.bz2
upstream-4b80e52575cd0bb2899ab93ae62dc6d4fc3c531a.zip
x86: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43636
Diffstat (limited to 'target/linux/x86/patches-3.10/012-export_erase_write.patch')
-rw-r--r--target/linux/x86/patches-3.10/012-export_erase_write.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/x86/patches-3.10/012-export_erase_write.patch b/target/linux/x86/patches-3.10/012-export_erase_write.patch
deleted file mode 100644
index d3ec5caf14..0000000000
--- a/target/linux/x86/patches-3.10/012-export_erase_write.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/drivers/mtd/mtdblock.c
-+++ b/drivers/mtd/mtdblock.c
-@@ -62,7 +62,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
-@@ -409,6 +409,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) {