diff options
Diffstat (limited to 'include/mtd/mtd-abi.h')
-rw-r--r-- | include/mtd/mtd-abi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index 4debb4514634..5bce08384345 100644 --- a/include/mtd/mtd-abi.h +++ b/include/mtd/mtd-abi.h | |||
@@ -119,7 +119,7 @@ struct otp_info { | |||
119 | #define OTPGETREGIONCOUNT _IOW('M', 14, int) | 119 | #define OTPGETREGIONCOUNT _IOW('M', 14, int) |
120 | #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) | 120 | #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) |
121 | #define OTPLOCK _IOR('M', 16, struct otp_info) | 121 | #define OTPLOCK _IOR('M', 16, struct otp_info) |
122 | #define ECCGETLAYOUT _IOR('M', 17, struct nand_ecclayout) | 122 | #define ECCGETLAYOUT _IOR('M', 17, struct nand_ecclayout_user) |
123 | #define ECCGETSTATS _IOR('M', 18, struct mtd_ecc_stats) | 123 | #define ECCGETSTATS _IOR('M', 18, struct mtd_ecc_stats) |
124 | #define MTDFILEMODE _IO('M', 19) | 124 | #define MTDFILEMODE _IO('M', 19) |
125 | #define MEMERASE64 _IOW('M', 20, struct erase_info_user64) | 125 | #define MEMERASE64 _IOW('M', 20, struct erase_info_user64) |
@@ -148,7 +148,7 @@ struct nand_oobfree { | |||
148 | * ECC layout control structure. Exported to userspace for | 148 | * ECC layout control structure. Exported to userspace for |
149 | * diagnosis and to allow creation of raw images | 149 | * diagnosis and to allow creation of raw images |
150 | */ | 150 | */ |
151 | struct nand_ecclayout { | 151 | struct nand_ecclayout_user { |
152 | __u32 eccbytes; | 152 | __u32 eccbytes; |
153 | __u32 eccpos[64]; | 153 | __u32 eccpos[64]; |
154 | __u32 oobavail; | 154 | __u32 oobavail; |