aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.8/028-mtd-bcm47xxpart-use-old-part-names.patch
blob: e43bb872836383940c068830a63d9d4184ec00b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/drivers/mtd/bcm47xxpart.c
+++ b/drivers/mtd/bcm47xxpart.c
@@ -134,7 +134,7 @@ static int bcm47xxpart_parse(struct mtd_
 			trx = (struct trx_header *)buf;
 
 			trx_part = curr_part;
-			bcm47xxpart_add_part(&parts[curr_part++], "firmware",
+			bcm47xxpart_add_part(&parts[curr_part++], "linux",
 					     offset, 0);
 
 			i = 0;
@@ -147,7 +147,7 @@ static int bcm47xxpart_parse(struct mtd_
 				i++;
 			}
 
-			bcm47xxpart_add_part(&parts[curr_part++], "linux",
+			bcm47xxpart_add_part(&parts[curr_part++], "kernel",
 					     offset + trx->offset[i], 0);
 			i++;