]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/mtd/nand/sh_flctl.c
mtd: nand: Allow caller to pass alternative ID table to nand_scan_ident()
[net-next-2.6.git] / drivers / mtd / nand / sh_flctl.c
index 4260ab78f95c3c8404f40afac0028fd76d518b20..dbc09a81866e078c41c2d0d07a07986718aafe2b 100644 (file)
@@ -825,7 +825,7 @@ static int __init flctl_probe(struct platform_device *pdev)
        nand->select_chip = flctl_select_chip;
        nand->cmdfunc = flctl_cmdfunc;
 
-       ret = nand_scan_ident(flctl_mtd, 1);
+       ret = nand_scan_ident(flctl_mtd, 1, NULL);
        if (ret)
                goto err;