]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/nand/mxc_nand.c
nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()
[karo-tx-uboot.git] / drivers / mtd / nand / mxc_nand.c
index db72cdc7b963837d7fbfeec2e23cfb2e08a7804e..62d69650638ba277774f1db7b2a51b47787e3aa0 100644 (file)
@@ -409,7 +409,7 @@ static int mxc_nand_read_oob_syndrome(struct mtd_info *mtd,
 
        MTDDEBUG(MTD_DEBUG_LEVEL0,
                        "%s: Reading OOB area of page %u to oob %p\n",
-                        __FUNCTION__, host->page_addr, buf);
+                        __func__, page, buf);
 
        chip->cmdfunc(mtd, NAND_CMD_READOOB, mtd->writesize, page);
        for (i = 0; i < chip->ecc.steps; i++) {