1 --- a/drivers/mtd/nand/rb4xx_nand.c
2 +++ b/drivers/mtd/nand/rb4xx_nand.c
3 @@ -220,7 +220,7 @@ static int __init rb4xx_nand_probe(struc
5 platform_set_drvdata(pdev, info);
7 - ret = nand_scan_ident(&info->mtd, 1);
8 + ret = nand_scan_ident(&info->mtd, 1, NULL);
12 --- a/drivers/mtd/nand/rb750_nand.c
13 +++ b/drivers/mtd/nand/rb750_nand.c
14 @@ -287,7 +287,7 @@ static int __init rb750_nand_probe(struc
16 platform_set_drvdata(pdev, info);
18 - ret = nand_scan_ident(&info->mtd, 1);
19 + ret = nand_scan_ident(&info->mtd, 1, NULL);