diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-05-26 09:31:16 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-05-26 09:31:16 +0000 |
commit | 588acc2cbae61c31b6eabd19e55fcb48c653d87a (patch) | |
tree | f26bf8a48afd178778540f4d077b203b902cb3e1 /target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch | |
parent | df23709f165b2e74e398080f1c0706d011263412 (diff) | |
download | mtk-20170518-588acc2cbae61c31b6eabd19e55fcb48c653d87a.zip mtk-20170518-588acc2cbae61c31b6eabd19e55fcb48c653d87a.tar.gz mtk-20170518-588acc2cbae61c31b6eabd19e55fcb48c653d87a.tar.bz2 |
generic/4.0: update to 4.0.4
Update kernel sources and refresh some patches.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45761
Diffstat (limited to 'target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch')
-rw-r--r-- | target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch b/target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch index 94aa6ae..ada7cc1 100644 --- a/target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch +++ b/target/linux/generic/patches-4.0/411-mtd-partial_eraseblock_write.patch @@ -97,7 +97,7 @@ if (instr->fail_addr != MTD_FAIL_ADDR_UNKNOWN) instr->fail_addr -= part->offset; instr->addr -= part->offset; -@@ -513,18 +581,21 @@ static struct mtd_part *allocate_partiti +@@ -513,17 +581,20 @@ static struct mtd_part *allocate_partiti if ((slave->mtd.flags & MTD_WRITEABLE) && mtd_mod_by_eb(slave->offset, &slave->mtd)) { /* Doesn't start on a boundary of major erase size */ @@ -127,7 +127,6 @@ } slave->mtd.ecclayout = master->ecclayout; - slave->mtd.ecc_step_size = master->ecc_step_size; --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -55,6 +55,10 @@ struct erase_info { |