kernel: move linux, part-probe dt parsing in generic code
[openwrt/openwrt.git] / target / linux / generic / patches-4.1 / 406-mtd-old-rootfs-squashfs-splitter.patch
index 65424b065de7d884ad36f8692136bb2b485184f4..cb1f29c901b75daf2652d51bddf08b6d62fcd04a 100644 (file)
@@ -14,7 +14,7 @@
        default y
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -695,6 +695,47 @@ mtd_pad_erasesize(struct mtd_info *mtd,
+@@ -696,6 +696,47 @@ mtd_pad_erasesize(struct mtd_info *mtd,
        return len;
  }
  
@@ -62,7 +62,7 @@
  #define UBOOT_MAGIC   0x27051956
  
  static void split_uimage(struct mtd_info *master, struct mtd_part *part)
-@@ -757,7 +798,10 @@ static void mtd_partition_split(struct m
+@@ -758,7 +799,10 @@ static void mtd_partition_split(struct m
                return;
  
        if (!strcmp(part->mtd.name, "rootfs")) {