summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-04 18:37:05 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-04 18:37:05 +0000
commit5dba0a237e0de82433c85a4ad6ad07cad47d928a (patch)
tree34cd0d7d8c1ca0e82304a1ecf4f7451322735d87 /target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch
parent866dd2a3788f31c29c735c149d3e905ac2d37930 (diff)
downloadmtk-20170518-5dba0a237e0de82433c85a4ad6ad07cad47d928a.zip
mtk-20170518-5dba0a237e0de82433c85a4ad6ad07cad47d928a.tar.gz
mtk-20170518-5dba0a237e0de82433c85a4ad6ad07cad47d928a.tar.bz2
kernel/3.1[02]: move MTD root device setup code to mtdcore
The current code only allows to automatically set root device on MTD partitions. Move the code to MTD core to allow to use it with all MTD devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38643
Diffstat (limited to 'target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch')
-rw-r--r--target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch b/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch
index 87c8257..134f657 100644
--- a/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch
+++ b/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch
@@ -1,6 +1,6 @@
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
-@@ -332,7 +332,14 @@ static int part_lock(struct mtd_info *mt
+@@ -331,7 +331,14 @@ static int part_lock(struct mtd_info *mt
static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
{
struct mtd_part *part = PART(mtd);