kernel: Make the patches apply on top of 4.19
[openwrt/staging/blogic.git] / target / linux / generic / pending-4.19 / 412-mtd-partial_eraseblock_unlock.patch
index 3ac3496c6989ee3b8f2201ca7783f4ca0e25c7fc..e038c4e60c0fb0c73dd8a7f28d19d186d237ad5b 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -357,7 +357,16 @@ static int part_lock(struct mtd_info *mt
+@@ -307,7 +307,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);