]> err.no Git - linux-2.6/blobdiff - drivers/mtd/mtdchar.c
[MTD] NAND consolidate data types
[linux-2.6] / drivers / mtd / mtdchar.c
index 6b83aee8abb8ee137c51b4d07075a62a5610d87a..7a7df851c99339062cce3570cab6833e03465690 100644 (file)
@@ -552,7 +552,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file,
                break;
        }
 
-#ifdef CONFIG_MTD_OTP
+#if defined(CONFIG_MTD_OTP) || defined(CONFIG_MTD_ONENAND_OTP)
        case OTPSELECT:
        {
                int mode;