diff options
Diffstat (limited to 'include/mtd/mtd-abi.h')
-rw-r--r-- | include/mtd/mtd-abi.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index a76ab898f445..091eb571e993 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: mtd-abi.h,v 1.7 2004/11/23 15:37:32 gleixner Exp $ | 2 | * $Id: mtd-abi.h,v 1.8 2005/02/08 17:11:16 nico Exp $ |
3 | * | 3 | * |
4 | * Portions of MTD ABI definition which are shared by kernel and user space | 4 | * Portions of MTD ABI definition which are shared by kernel and user space |
5 | */ | 5 | */ |
@@ -80,6 +80,12 @@ struct region_info_user { | |||
80 | uint32_t regionindex; | 80 | uint32_t regionindex; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | struct otp_info { | ||
84 | uint32_t start; | ||
85 | uint32_t length; | ||
86 | uint32_t locked; | ||
87 | }; | ||
88 | |||
83 | #define MEMGETINFO _IOR('M', 1, struct mtd_info_user) | 89 | #define MEMGETINFO _IOR('M', 1, struct mtd_info_user) |
84 | #define MEMERASE _IOW('M', 2, struct erase_info_user) | 90 | #define MEMERASE _IOW('M', 2, struct erase_info_user) |
85 | #define MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) | 91 | #define MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) |