bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43584
This commit is contained in:
parent
1f4ddec7f2
commit
613bc3ef3f
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user