aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-06-12 14:47:53 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-06-12 14:47:53 +0000
commit990423f3efad559289c3a084f2cb40a0c0f2834e (patch)
tree89ea0a102a2d4c3cc632940d6a267049f3ad82e1 /target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch
parent4e0c64978345a1b70acff60f53e24695b02ffa21 (diff)
downloadupstream-990423f3efad559289c3a084f2cb40a0c0f2834e.tar.gz
upstream-990423f3efad559289c3a084f2cb40a0c0f2834e.tar.bz2
upstream-990423f3efad559289c3a084f2cb40a0c0f2834e.zip
brcm47xx: add initial support for kernel 3.9
SVN-Revision: 36926
Diffstat (limited to 'target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch b/target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch
new file mode 100644
index 0000000000..e43bb87283
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.9/028-mtd-bcm47xxpart-use-old-part-names.patch
@@ -0,0 +1,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++;
+