kernel: backport mtd implementation for "compatible" in "partitions" subnode
[openwrt/openwrt.git] / target / linux / generic / pending-4.14 / 412-mtd-partial_eraseblock_unlock.patch
index fd6ffc6fa9e4c7dbb2f41c1421915c3f78a67f66..2ffff4ecf96fdbc96c8411d4cfd36882d7c10a1f 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -343,7 +343,16 @@ static int part_lock(struct mtd_info *mt
+@@ -344,7 +344,16 @@ 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 = mtd_to_part(mtd);