diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 19:32:56 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 19:32:56 +0100 |
commit | 5e81e88a4c140586d9212999cea683bcd66a15c6 (patch) | |
tree | 1d67825bb2cbcb3830fe4584bac04f6d9413d41a /drivers/mtd/nand/atmel_nand.c | |
parent | mtd: common module for smartmedia/xD support (diff) | |
download | linux-5e81e88a4c140586d9212999cea683bcd66a15c6.tar.xz linux-5e81e88a4c140586d9212999cea683bcd66a15c6.zip |
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/atmel_nand.c')
-rw-r--r-- | drivers/mtd/nand/atmel_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 524e6c9e0672..04d30887ca7f 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -474,7 +474,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev) } /* first scan to find the device and get the page size */ - if (nand_scan_ident(mtd, 1)) { + if (nand_scan_ident(mtd, 1, NULL)) { res = -ENXIO; goto err_scan_ident; } |