kernel/3.1[02]: move MTD root device setup code to mtdcore
[openwrt.git] / target / linux / generic / patches-3.10 / 404-mtd-use-mtd_get_squashfs_len-in-split_squasfh.patch
index 43960b3..9024026 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -34,6 +34,7 @@
+@@ -33,6 +33,7 @@
  #include <linux/err.h>
  
  #include "mtdcore.h"
@@ -8,7 +8,7 @@
  
  /* Our partition linked list */
  static LIST_HEAD(mtd_partitions);
-@@ -669,43 +670,16 @@ mtd_pad_erasesize(struct mtd_info *mtd,
+@@ -668,43 +669,16 @@ mtd_pad_erasesize(struct mtd_info *mtd,
        return len;
  }