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

Last change on this file since 27310 was 27310, checked in by juhosg, 5 years ago

ar71xx: add 2.6.39 support

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

    a b static int __init rb4xx_nand_probe(struc 
    223223 
    224224        platform_set_drvdata(pdev, info); 
    225225 
    226         ret = nand_scan_ident(&info->mtd, 1); 
     226        ret = nand_scan_ident(&info->mtd, 1, NULL); 
    227227        if (ret) { 
    228228                ret = -ENXIO; 
    229229                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.