diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-08 18:28:07 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-11-08 18:28:07 +0000 |
commit | 297b9756bca9f1de4fd5b33d076049c65287ec07 (patch) | |
tree | d82bdf05521eb9e16ee9ae84d7515a0aeabef21a /target/linux/generic/patches-2.6.37/065-rootfs_split.patch | |
parent | 75cf9a4cd3921a2054f56f50bc1440120226cbc7 (diff) | |
download | mtk-20170518-297b9756bca9f1de4fd5b33d076049c65287ec07.zip mtk-20170518-297b9756bca9f1de4fd5b33d076049c65287ec07.tar.gz mtk-20170518-297b9756bca9f1de4fd5b33d076049c65287ec07.tar.bz2 |
linux/generic: add some missing patches, refresh patches
SVN-Revision: 23931
Diffstat (limited to 'target/linux/generic/patches-2.6.37/065-rootfs_split.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.37/065-rootfs_split.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic/patches-2.6.37/065-rootfs_split.patch b/target/linux/generic/patches-2.6.37/065-rootfs_split.patch index c148738..a048395 100644 --- a/target/linux/generic/patches-2.6.37/065-rootfs_split.patch +++ b/target/linux/generic/patches-2.6.37/065-rootfs_split.patch @@ -27,8 +27,8 @@ +#include <linux/magic.h> #include <linux/err.h> - #define MTD_ERASE_PARTIAL 0x8000 /* partition only covers parts of an erase block */ -@@ -50,7 +52,7 @@ struct mtd_part { + /* Our partition linked list */ +@@ -48,7 +50,7 @@ struct mtd_part { * the pointer to that structure with this macro. */ #define PART(x) ((struct mtd_part *)(x)) @@ -37,7 +37,7 @@ /* * MTD methods which simply translate the effective address and pass through -@@ -691,6 +693,153 @@ int mtd_del_partition(struct mtd_info *m +@@ -618,6 +620,153 @@ int mtd_del_partition(struct mtd_info *m } EXPORT_SYMBOL_GPL(mtd_del_partition); @@ -191,7 +191,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 -@@ -706,7 +855,7 @@ int add_mtd_partitions(struct mtd_info * +@@ -633,7 +782,7 @@ int add_mtd_partitions(struct mtd_info * { struct mtd_part *slave; uint64_t cur_offset = 0; @@ -200,7 +200,7 @@ printk(KERN_NOTICE "Creating %d MTD partitions on \"%s\":\n", nbparts, master->name); -@@ -721,6 +870,21 @@ int add_mtd_partitions(struct mtd_info * +@@ -648,6 +797,21 @@ int add_mtd_partitions(struct mtd_info * add_mtd_device(&slave->mtd); @@ -222,7 +222,7 @@ cur_offset = slave->offset + slave->mtd.size; } -@@ -728,6 +892,32 @@ int add_mtd_partitions(struct mtd_info * +@@ -655,6 +819,32 @@ int add_mtd_partitions(struct mtd_info * } EXPORT_SYMBOL(add_mtd_partitions); |