aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-12-08 18:28:54 +0000
committerRafał Miłecki <zajec5@gmail.com>2014-12-08 18:28:54 +0000
commit5469e95efe7351a6d041af47b31428fc68f0586b (patch)
tree62e55fb23687da52ffd4d346d91bcdcae23c46a9 /target/linux
parent2337549e077984571bb019481ef3d5bf9660e0e1 (diff)
downloadupstream-5469e95efe7351a6d041af47b31428fc68f0586b.tar.gz
upstream-5469e95efe7351a6d041af47b31428fc68f0586b.tar.bz2
upstream-5469e95efe7351a6d041af47b31428fc68f0586b.zip
bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43584 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch2
-rw-r--r--target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
index 7571eef8a0..3f082543af 100644
--- a/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
+++ b/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
@@ -1561,7 +1561,7 @@
+ if (res)
+ return res;
+
-+ parser_data.of_node = np;
++ parser_data.of_node = dev->of_node;
+ res = mtd_device_parse_register(&ctrl->mtd, part_probes, &parser_data, NULL, 0);
+ if (res) {
+ dev_err(dev, "Failed to register MTD device: %d\n", res);
diff --git a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
index c4bc51fe9b..90a9d96d83 100644
--- a/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
+++ b/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
@@ -1561,7 +1561,7 @@
+ if (res)
+ return res;
+
-+ parser_data.of_node = np;
++ parser_data.of_node = dev->of_node;
+ res = mtd_device_parse_register(&ctrl->mtd, part_probes, &parser_data, NULL, 0);
+ if (res) {
+ dev_err(dev, "Failed to register MTD device: %d\n", res);