linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: Blackfin NFC: fix build error after nand_scan_ident() change
@ 2010-08-28  5:45 Mike Frysinger
  2010-08-30 12:56 ` Artem Bityutskiy
  2010-10-16  9:14 ` [Uclinux-dist-devel] " Mike Frysinger
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2010-08-28  5:45 UTC (permalink / raw)
  To: linux-mtd, David Woodhouse; +Cc: uclinux-dist-devel, Andrew Morton

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.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
note: this needs to be merged before 2.6.36 final

 drivers/mtd/nand/bf5xx_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index a382e3d..162c5ea 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -710,7 +710,7 @@ static int bf5xx_nand_scan(struct mtd_info *mtd)
 	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;
 
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-22 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-28  5:45 [PATCH] mtd: Blackfin NFC: fix build error after nand_scan_ident() change Mike Frysinger
2010-08-30 12:56 ` Artem Bityutskiy
2010-10-16  9:14 ` [Uclinux-dist-devel] " Mike Frysinger
2010-10-22 15:54   ` [stable] " Greg KH
2010-10-22 19:42     ` [Uclinux-dist-devel] [stable] " Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).