]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/nand_bch.c
mtd: replace MTDDEBUG() with pr_debug()
[u-boot] / drivers / mtd / nand / nand_bch.c
index c14520380e6324b36854a9f2c99ff6d42741b4af..6c20d53e7ec643aed0a740b2e7929d6d492fe25a 100644 (file)
@@ -81,8 +81,8 @@ int nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf,
                                buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7));
                        /* else error in ecc, no action needed */
 
-                       MTDDEBUG(MTD_DEBUG_LEVEL0, "%s: corrected bitflip %u\n",
-                             __func__, errloc[i]);
+                       pr_debug("%s: corrected bitflip %u\n",
+                                __func__, errloc[i]);
                }
        } else if (count < 0) {
                printk(KERN_ERR "ecc unrecoverable error\n");