aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r--drivers/mtd/mtdchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c
index 6b83aee8abb8..7a7df851c993 100644
--- a/drivers/mtd/mtdchar.c
+++ b/drivers/mtd/mtdchar.c
@@ -552,7 +552,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file,
552 break; 552 break;
553 } 553 }
554 554
555#ifdef CONFIG_MTD_OTP 555#if defined(CONFIG_MTD_OTP) || defined(CONFIG_MTD_ONENAND_OTP)
556 case OTPSELECT: 556 case OTPSELECT:
557 { 557 {
558 int mode; 558 int mode;