Title: [9212] trunk/drivers/mtd/nand/bf5xx_nand.c: mtd: Blackfin NFC: fix build error after nand_scan_ident() change
- Revision
- 9212
- Author
- vapier
- Date
- 2010-10-16 05:01:51 -0400 (Sat, 16 Oct 2010)
Log Message
mtd: Blackfin NFC: fix build error after nand_scan_ident() change
Seems some patches got out sync when being merged. The Blackfin NFC
driver was updated to use nand_scan_ident(), but it missed the change
where nand_scan_ident() now takes 3 arguments. So update this driver
to fix build failures.
Modified Paths
Diff
Modified: trunk/drivers/mtd/nand/bf5xx_nand.c (9211 => 9212)
--- trunk/drivers/mtd/nand/bf5xx_nand.c 2010-10-16 08:55:43 UTC (rev 9211)
+++ trunk/drivers/mtd/nand/bf5xx_nand.c 2010-10-16 09:01:51 UTC (rev 9212)
@@ -705,7 +705,7 @@
struct nand_chip *chip = mtd->priv;
int ret;
- ret = nand_scan_ident(mtd, 1);
+ ret = nand_scan_ident(mtd, 1, NULL);
if (ret)
return ret;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits