kernel: don't export parse_mtd_partitions_by_type() in 4.9 and 4.14
[openwrt/staging/wigyori.git] / target / linux / generic / pending-4.9 / 412-mtd-partial_eraseblock_unlock.patch
index 2ffff4ecf96fdbc96c8411d4cfd36882d7c10a1f..1e8c90931c10bf8e43b03233d40106cfb59119ed 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -344,7 +344,16 @@ static int part_lock(struct mtd_info *mt
+@@ -348,7 +348,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);