diff options
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 7eef287e50..79c1edd5dd 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -957,7 +957,7 @@ EXPORT_SYMBOL(nand_lock); * bitflips_threshold, or -ERROR_CODE for bitflips in excess of the * threshold. */ -static int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) +int nand_check_erased_buf(void *buf, int len, int bitflips_threshold) { const unsigned char *bitmap = buf; int bitflips = 0; |