diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 13:32:56 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 13:32:56 -0500 |
commit | 5e81e88a4c140586d9212999cea683bcd66a15c6 (patch) | |
tree | 1d67825bb2cbcb3830fe4584bac04f6d9413d41a /drivers/mtd/nand/cafe_nand.c | |
parent | 9fc51a37a8da84618df7584cad67c078317f6720 (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/cafe_nand.c')
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 67e2b33f7eff..01a6fe1c7805 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -761,7 +761,7 @@ static int __devinit cafe_nand_probe(struct pci_dev *pdev, | |||
761 | cafe_readl(cafe, GLOBAL_CTRL), cafe_readl(cafe, GLOBAL_IRQ_MASK)); | 761 | cafe_readl(cafe, GLOBAL_CTRL), cafe_readl(cafe, GLOBAL_IRQ_MASK)); |
762 | 762 | ||
763 | /* Scan to find existence of the device */ | 763 | /* Scan to find existence of the device */ |
764 | if (nand_scan_ident(mtd, 2)) { | 764 | if (nand_scan_ident(mtd, 2, NULL)) { |
765 | err = -ENXIO; | 765 | err = -ENXIO; |
766 | goto out_irq; | 766 | goto out_irq; |
767 | } | 767 | } |