diff options
Diffstat (limited to 'target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch b/target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch index 4db94a1..cd41e7c 100644 --- a/target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch +++ b/target/linux/ar71xx/patches-3.6/408-mtd-redboot_partition_scan.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/redboot.c +++ b/drivers/mtd/redboot.c -@@ -79,12 +79,18 @@ static int parse_redboot_partitions(stru +@@ -76,12 +76,18 @@ static int parse_redboot_partitions(stru static char nullstring[] = "unallocated"; #endif @@ -19,7 +19,7 @@ return -EIO; } offset -= master->erasesize; -@@ -97,10 +103,6 @@ static int parse_redboot_partitions(stru +@@ -94,10 +100,6 @@ static int parse_redboot_partitions(stru goto nogood; } } @@ -30,7 +30,7 @@ printk(KERN_NOTICE "Searching for RedBoot partition table in %s at offset 0x%lx\n", master->name, offset); -@@ -173,6 +175,11 @@ static int parse_redboot_partitions(stru +@@ -170,6 +172,11 @@ static int parse_redboot_partitions(stru } if (i == numslots) { /* Didn't find it */ |