From: Rafał Miłecki Date: Mon, 8 Dec 2014 18:28:54 +0000 (+0000) Subject: bcm53xx: bcm_nand: fix compilation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=613bc3ef3fc2ff6e7f3a13f2fbcfa88810961585;p=openwrt%2Fstaging%2Fstintel.git bcm53xx: bcm_nand: fix compilation Signed-off-by: Rafał Miłecki SVN-Revision: 43584 --- 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);