aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand_bch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/nand_bch.h')
-rw-r--r--include/linux/mtd/nand_bch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand_bch.h b/include/linux/mtd/nand_bch.h
index 74acf5367556..fb0bc3420a10 100644
--- a/include/linux/mtd/nand_bch.h
+++ b/include/linux/mtd/nand_bch.h
@@ -55,7 +55,7 @@ static inline int
nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf,
unsigned char *read_ecc, unsigned char *calc_ecc)
{
- return -1;
+ return -ENOTSUPP;
}
static inline struct nand_bch_control *