Author: rmilecki
Date: 2014-12-08 19:28:54 +0100 (Mon, 08 Dec 2014)
New Revision: 43584

Modified:
   trunk/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
   trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
Log:
bcm53xx: bcm_nand: fix compilation

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>


Modified: trunk/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
===================================================================
--- trunk/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch 
2014-12-08 17:43:14 UTC (rev 43583)
+++ trunk/target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch 
2014-12-08 18:28:54 UTC (rev 43584)
@@ -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);

Modified: trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch
===================================================================
--- trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch 
2014-12-08 17:43:14 UTC (rev 43583)
+++ trunk/target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch 
2014-12-08 18:28:54 UTC (rev 43584)
@@ -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);
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to