From 613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 8 Dec 2014 18:28:54 +0000 Subject: [PATCH] bcm53xx: bcm_nand: fix compilation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 43584 --- target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch | 2 +- target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch | 2 +- 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); -- 2.25.1