diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mtd/mtd-abi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index 2f7d45bcbd24..3bdda5c426bd 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h | |||
@@ -104,6 +104,12 @@ struct otp_info { | |||
104 | __u32 locked; | 104 | __u32 locked; |
105 | }; | 105 | }; |
106 | 106 | ||
107 | /* | ||
108 | * Note, the following ioctl existed in the past and was removed: | ||
109 | * #define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo) | ||
110 | * Try to avoid adding a new ioctl with the same ioctl number. | ||
111 | */ | ||
112 | |||
107 | #define MEMGETINFO _IOR('M', 1, struct mtd_info_user) | 113 | #define MEMGETINFO _IOR('M', 1, struct mtd_info_user) |
108 | #define MEMERASE _IOW('M', 2, struct erase_info_user) | 114 | #define MEMERASE _IOW('M', 2, struct erase_info_user) |
109 | #define MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) | 115 | #define MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) |
@@ -112,7 +118,6 @@ struct otp_info { | |||
112 | #define MEMUNLOCK _IOW('M', 6, struct erase_info_user) | 118 | #define MEMUNLOCK _IOW('M', 6, struct erase_info_user) |
113 | #define MEMGETREGIONCOUNT _IOR('M', 7, int) | 119 | #define MEMGETREGIONCOUNT _IOR('M', 7, int) |
114 | #define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user) | 120 | #define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user) |
115 | #define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo) | ||
116 | #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo) | 121 | #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo) |
117 | #define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t) | 122 | #define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t) |
118 | #define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t) | 123 | #define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t) |