generic: fix min/max confusion in jffs2_sum_init on 2.6.32
[openwrt.git] / target / linux / ar71xx / files / drivers / mtd / nand / rb4xx_nand.c
index ca9d8ad..185bef0 100644 (file)
@@ -210,7 +210,9 @@ static int __init rb4xx_nand_probe(struct platform_device *pdev)
        info->chip.read_byte    = rb4xx_nand_read_byte;
        info->chip.write_buf    = rb4xx_nand_write_buf;
        info->chip.read_buf     = rb4xx_nand_read_buf;
-//     info->chip.verify_buf   = rb4xx_nand_verify_buf;
+#if 0
+       info->chip.verify_buf   = rb4xx_nand_verify_buf;
+#endif
 
        info->chip.chip_delay   = 25;
        info->chip.ecc.mode     = NAND_ECC_SOFT;
@@ -244,21 +246,21 @@ static int __init rb4xx_nand_probe(struct platform_device *pdev)
 
        return 0;
 
- err_release_nand:
+err_release_nand:
        nand_release(&info->mtd);
- err_set_drvdata:
+err_set_drvdata:
        platform_set_drvdata(pdev, NULL);
- err_free_info:
+err_free_info:
        kfree(info);
- err_free_gpio_nce:
+err_free_gpio_nce:
        gpio_free(RB4XX_NAND_GPIO_NCE);
- err_free_gpio_cle:
+err_free_gpio_cle:
        gpio_free(RB4XX_NAND_GPIO_CLE);
- err_free_gpio_ale:
+err_free_gpio_ale:
        gpio_free(RB4XX_NAND_GPIO_ALE);
- err_free_gpio_ready:
+err_free_gpio_ready:
        gpio_free(RB4XX_NAND_GPIO_READY);
- err:
+err:
        return ret;
 }
 
This page took 0.026147 seconds and 4 git commands to generate.