diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-08-23 19:11:07 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-08-23 19:11:07 +0000 |
commit | 9d2be2d613934c8be27e710c1d8fa7c1f0dd7e20 (patch) | |
tree | bb4919b215d87149017fbca1ccee16dd4a83c7fa /target/linux/adm5120/patches-3.18/100-rootfs_split.patch | |
parent | 3c0f297c9afcef26911e979fdc4cd5fa23f50d9c (diff) | |
download | master-187ad058-9d2be2d613934c8be27e710c1d8fa7c1f0dd7e20.tar.gz master-187ad058-9d2be2d613934c8be27e710c1d8fa7c1f0dd7e20.tar.bz2 master-187ad058-9d2be2d613934c8be27e710c1d8fa7c1f0dd7e20.zip |
adm5120: make patches apply again
Fix patches not applying anymore since r46654.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46714 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-3.18/100-rootfs_split.patch')
-rw-r--r-- | target/linux/adm5120/patches-3.18/100-rootfs_split.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/adm5120/patches-3.18/100-rootfs_split.patch b/target/linux/adm5120/patches-3.18/100-rootfs_split.patch index 44108a608a..dfc0e83a03 100644 --- a/target/linux/adm5120/patches-3.18/100-rootfs_split.patch +++ b/target/linux/adm5120/patches-3.18/100-rootfs_split.patch @@ -17,16 +17,16 @@ ---help--- --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c -@@ -29,6 +29,8 @@ - #include <linux/kmod.h> +@@ -30,6 +30,8 @@ #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> + #include <linux/of.h> +#include <linux/root_dev.h> +#include <linux/magic.h> #include <linux/err.h> #include "mtdcore.h" -@@ -52,7 +54,7 @@ struct mtd_part { +@@ -53,7 +55,7 @@ struct mtd_part { * the pointer to that structure with this macro. */ #define PART(x) ((struct mtd_part *)(x)) @@ -35,7 +35,7 @@ /* * MTD methods which simply translate the effective address and pass through -@@ -705,6 +707,144 @@ int mtd_del_partition(struct mtd_info *m +@@ -706,6 +708,144 @@ int mtd_del_partition(struct mtd_info *m } EXPORT_SYMBOL_GPL(mtd_del_partition); @@ -180,7 +180,7 @@ /* * This function, given a master MTD object and a partition table, creates * and registers slave MTD objects which are bound to the master according to -@@ -721,6 +861,9 @@ int add_mtd_partitions(struct mtd_info * +@@ -722,6 +862,9 @@ int add_mtd_partitions(struct mtd_info * struct mtd_part *slave; uint64_t cur_offset = 0; int i; @@ -190,7 +190,7 @@ printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); -@@ -735,12 +878,53 @@ int add_mtd_partitions(struct mtd_info * +@@ -736,12 +879,53 @@ int add_mtd_partitions(struct mtd_info * add_mtd_device(&slave->mtd); |