summaryrefslogtreecommitdiff
path: root/target
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
commit613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585 (patch)
tree96520b69e9fcc08657cb2599fc0a623a5b7048c6 /target
parent1f4ddec7f29d975f2d453cf2ab7288eeb879c203 (diff)
downloadmtk-20170518-613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585.zip
mtk-20170518-613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585.tar.gz
mtk-20170518-613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585.tar.bz2
bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43584
Diffstat (limited to 'target')
-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 7571eef..3f08254 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 c4bc51f..90a9d96 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);