aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/davinci_nand.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-02-26 13:32:56 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-02-26 13:32:56 -0500
commit5e81e88a4c140586d9212999cea683bcd66a15c6 (patch)
tree1d67825bb2cbcb3830fe4584bac04f6d9413d41a /drivers/mtd/nand/davinci_nand.c
parent9fc51a37a8da84618df7584cad67c078317f6720 (diff)
mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
-rw-r--r--drivers/mtd/nand/davinci_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index e2eeaf1e51a3..45bb931c0848 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -690,7 +690,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
690 spin_unlock_irq(&davinci_nand_lock); 690 spin_unlock_irq(&davinci_nand_lock);
691 691
692 /* Scan to find existence of the device(s) */ 692 /* Scan to find existence of the device(s) */
693 ret = nand_scan_ident(&info->mtd, pdata->mask_chipsel ? 2 : 1); 693 ret = nand_scan_ident(&info->mtd, pdata->mask_chipsel ? 2 : 1, NULL);
694 if (ret < 0) { 694 if (ret < 0) {
695 dev_dbg(&pdev->dev, "no NAND chip(s) found\n"); 695 dev_dbg(&pdev->dev, "no NAND chip(s) found\n");
696 goto err_scan; 696 goto err_scan;