source: trunk/target/linux/ar71xx/patches-2.6.36/400-2.6.35-fix-nand_scan_ident-options.patch @ 24210

Last change on this file since 24210 was 24210, checked in by juhosg, 6 years ago

ar71xx: refresh patches

File size: 624 bytes
  • drivers/mtd/nand/rb4xx_nand.c

    a b static int __init rb4xx_nand_probe(struc 
    220220 
    221221        platform_set_drvdata(pdev, info); 
    222222 
    223         ret = nand_scan_ident(&info->mtd, 1); 
     223        ret = nand_scan_ident(&info->mtd, 1, NULL); 
    224224        if (ret) { 
    225225                ret = -ENXIO; 
    226226                goto err_free_info; 
  • drivers/mtd/nand/rb750_nand.c

    a b static int __init rb750_nand_probe(struc 
    287287 
    288288        platform_set_drvdata(pdev, info); 
    289289 
    290         ret = nand_scan_ident(&info->mtd, 1); 
     290        ret = nand_scan_ident(&info->mtd, 1, NULL); 
    291291        if (ret) { 
    292292                ret = -ENXIO; 
    293293                goto err_free_info; 
Note: See TracBrowser for help on using the repository browser.