2
0
forked from Ivasoft/openwrt

update 3.2 patches

sync with lantiq kernel series

SVN-Revision: 31260
This commit is contained in:
John Crispin
2012-04-12 12:33:56 +00:00
parent 1b75788451
commit e3889bcf7c
75 changed files with 1524 additions and 318 deletions

View File

@@ -183,6 +183,15 @@
/*
* 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
@@ -890,7 +1053,7 @@ int add_mtd_partitions(struct mtd_info *
struct mtd_part *slave;
uint64_t cur_offset = 0;
int i;
-#ifdef CONFIG_MTD_ROOTFS_SPLIT
+#if defined(CONFIG_MTD_ROOTFS_SPLIT) || defined(CONFIG_MTD_UIMAGE_SPLIT)
int ret;
#endif
@@ -907,6 +1070,17 @@ int add_mtd_partitions(struct mtd_info *
add_mtd_device(&slave->mtd);