diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-28 01:45:00 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-09-13 03:48:50 -0400 |
commit | eac15a429a27cb74115daaf4c1127c5e854d50e4 (patch) | |
tree | 2b1878d27a8b0006afc756fb865e0359424ed5d7 /drivers/mtd | |
parent | f7b66e5e51d31c45c6039db9a6da7863fb75be1e (diff) |
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.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | 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 a382e3dd0a5d..162c5ea2b773 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) | |||
710 | struct nand_chip *chip = mtd->priv; | 710 | struct nand_chip *chip = mtd->priv; |
711 | int ret; | 711 | int ret; |
712 | 712 | ||
713 | ret = nand_scan_ident(mtd, 1); | 713 | ret = nand_scan_ident(mtd, 1, NULL); |
714 | if (ret) | 714 | if (ret) |
715 | return ret; | 715 | return ret; |
716 | 716 | ||