fastboot: nand: fix compile error
PATCH 1/1 fastboot: nand: fix compile error
Error info "common/fb_nand.c: In function 'fb_nand_lookup':common/fb_nand.c:65:3: error: 'mtd' undeclared (first use in this function)
*mtd = nand_info[dev->id->num];
^"
Correct fb_nand_lookup parameter name to fix this issue.
--- common/fb_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/fb_nand.c +1 -1
@@ -34,7 +34,7 @@ __weak int board_fastboot_write_partition_setup(char *name) }static int fb_nand_lookup (const char *partname,char *response, -struct mtd_info **nand, +struct mtd_info **mtd,struct part_info **part) {struct mtd_device *dev;
Signature · 1 line
2.6.2
PATCH 1/1 fastboot: nand: fix compile error
Quoted 9 lines · Peng Fan
Error info "
common/fb_nand.c: In function 'fb_nand_lookup':common/fb_nand.c:65:3: error: 'mtd' undeclared (first use in this function)*mtd = nand_info[dev->id->num]; ^"
Correct
fb_nand_lookupparameter name to fix this issue.
Quoted 7 lines
Signed-off-by Peng Fan <[email protected]>Cc Maxime Ripard <[email protected]>Cc Scott Wood <[email protected]>Cc Tom Rini <[email protected]>--- common/fb_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I've already received and applied a patch for this.
-Scott
PATCH 1/1 fastboot: nand: fix compile error
Hi Scott,
Quoted 18 lines · Scott Wood
Quoted 9 lines · Peng Fan
Error info "
common/fb_nand.c: In function 'fb_nand_lookup':common/fb_nand.c:65:3: error: 'mtd' undeclared (first use in this function)*mtd = nand_info[dev->id->num]; ^"
Correct
fb_nand_lookupparameter name to fix this issue.Quoted 7 lines
Signed-off-by Peng Fan <[email protected]>Cc Maxime Ripard <[email protected]>Cc Scott Wood <[email protected]>Cc Tom Rini <[email protected]>--- common/fb_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 1 line
I've already received and applied a patch for this.
I worked this patch based on upstream tree and not checked your tree.
Drop this patch, since there is already a fix.
Thanks,
Peng.
Quoted 3 lines
-Scott