Changeset 37981


Ignore:
Timestamp:
2013-09-14T12:19:10+02:00 (4 years ago)
Author:
juhosg
Message:

generic/3.10: remove unused defines from the rootfs split patch

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.10/400-mtd-add-rootfs-split-support.patch

    r37980 r37981  
    3636  
    3737 #include "mtdcore.h" 
    38 @@ -45,12 +47,14 @@ struct mtd_part { 
     38@@ -45,13 +47,14 @@ struct mtd_part { 
    3939        struct list_head list; 
    4040 }; 
     
    4747  */ 
    4848 #define PART(x)  ((struct mtd_part *)(x)) 
     49  
    4950- 
    50 +#define IS_PART(mtd) (mtd->_read == part_read) 
    51   
    5251 /* 
    5352  * MTD methods which simply translate the effective address and pass through 
    54 @@ -533,8 +537,10 @@ out_register: 
     53  * to the _real_ device. 
     54@@ -533,8 +536,10 @@ out_register: 
    5555        return slave; 
    5656 } 
     
    6565        struct mtd_partition part; 
    6666        struct mtd_part *p, *new; 
    67 @@ -566,21 +572,24 @@ int mtd_add_partition(struct mtd_info *m 
     67@@ -566,21 +571,24 @@ int mtd_add_partition(struct mtd_info *m 
    6868        end = offset + length; 
    6969  
     
    100100        return ret; 
    101101 err_inv: 
    102 @@ -590,6 +599,12 @@ err_inv: 
     102@@ -590,6 +598,12 @@ err_inv: 
    103103 } 
    104104 EXPORT_SYMBOL_GPL(mtd_add_partition); 
     
    113113 { 
    114114        struct mtd_part *slave, *next; 
    115 @@ -613,6 +628,149 @@ int mtd_del_partition(struct mtd_info *m 
     115@@ -613,6 +627,148 @@ int mtd_del_partition(struct mtd_info *m 
    116116 } 
    117117 EXPORT_SYMBOL_GPL(mtd_del_partition); 
     
    129129+ 
    130130+#define ROOTFS_SPLIT_NAME "rootfs_data" 
    131 +#define ROOTFS_REMOVED_NAME "<removed>" 
    132131+ 
    133132+struct squashfs_super_block { 
     
    263262  * This function, given a master MTD object and a partition table, creates 
    264263  * and registers slave MTD objects which are bound to the master according to 
    265 @@ -642,6 +800,7 @@ int add_mtd_partitions(struct mtd_info * 
     264@@ -642,6 +798,7 @@ int add_mtd_partitions(struct mtd_info * 
    266265                mutex_unlock(&mtd_partitions_mutex); 
    267266  
Note: See TracChangeset for help on using the changeset viewer.