summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch')
-rw-r--r--target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch b/target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch
index 65424b0..cb1f29c 100644
--- a/target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch
+++ b/target/linux/generic/patches-4.1/406-mtd-old-rootfs-squashfs-splitter.patch
@@ -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")) {