mtd: replace DEBUG() with pr_debug()
[deliverable/linux.git] / drivers / mtd / onenand / onenand_bbt.c
index 09a7d1fb511d45b79c4bf98adf70095dac474481..3b9a2a9573c6aae98e2d6418f90d3870eb0dc02b 100644 (file)
@@ -153,7 +153,7 @@ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
        block = (int) (onenand_block(this, offs) << 1);
        res = (bbm->bbt[block >> 3] >> (block & 0x06)) & 0x03;
 
-       DEBUG(MTD_DEBUG_LEVEL2, "onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n",
+       pr_debug("onenand_isbad_bbt: bbt info for offs 0x%08x: (block %d) 0x%02x\n",
                (unsigned int) offs, block >> 1, res);
 
        switch ((int) res) {
This page took 0.02478 seconds and 5 git commands to generate.