X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.14%2F411-mtd-partial_eraseblock_write.patch;h=668b7d7289e13d5521dd7c7f6e3b6bdf61a49786;hp=8da080b2ade89e36f1da84e7be28d63a3c572d8d;hb=ac3537c2b9285a1c82fcab43c667c8e8041b67b1;hpb=83bbb454eb11afbc56728ac5a9d9bf93262ad5fc diff --git a/target/linux/generic/patches-3.14/411-mtd-partial_eraseblock_write.patch b/target/linux/generic/patches-3.14/411-mtd-partial_eraseblock_write.patch index 8da080b2ad..668b7d7289 100644 --- a/target/linux/generic/patches-3.14/411-mtd-partial_eraseblock_write.patch +++ b/target/linux/generic/patches-3.14/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 */ +