2010-10-01 16:39:08 +00:00
|
|
|
--- a/include/mtd/mtd-abi.h
|
|
|
|
+++ b/include/mtd/mtd-abi.h
|
2015-05-26 09:25:30 +00:00
|
|
|
@@ -171,9 +171,9 @@ struct otp_info {
|
|
|
|
/* Get info about OOB modes (e.g., RAW, PLACE, AUTO) - legacy interface */
|
2010-10-01 16:39:08 +00:00
|
|
|
#define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo)
|
2015-05-26 09:25:30 +00:00
|
|
|
/* Check if an eraseblock is bad */
|
2010-10-01 16:39:08 +00:00
|
|
|
-#define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t)
|
|
|
|
+#define MEMGETBADBLOCK _IOW('M', 11, loff_t)
|
2015-05-26 09:25:30 +00:00
|
|
|
/* Mark an eraseblock as bad */
|
|
|
|
-#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t)
|
2010-10-01 16:39:08 +00:00
|
|
|
+#define MEMSETBADBLOCK _IOW('M', 12, loff_t)
|
2015-05-26 09:25:30 +00:00
|
|
|
/* Set OTP (One-Time Programmable) mode (factory vs. user) */
|
2010-10-01 16:39:08 +00:00
|
|
|
#define OTPSELECT _IOR('M', 13, int)
|
2015-05-26 09:25:30 +00:00
|
|
|
/* Get number of OTP (One-Time Programmable) regions */
|