1
0

patch-include_mtd_mtd-abi_h 766 B

1234567891011121314
  1. --- mtd-utils-1.5.0.orig/include/mtd/mtd-abi.h 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-1.5.0/include/mtd/mtd-abi.h 2014-03-30 15:49:26.000000000 +0200
  3. @@ -171,9 +171,9 @@ struct otp_info {
  4. /* Get info about OOB modes (e.g., RAW, PLACE, AUTO) - legacy interface */
  5. #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo)
  6. /* Check if an eraseblock is bad */
  7. -#define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t)
  8. +#define MEMGETBADBLOCK _IOW('M', 11, off_t)
  9. /* Mark an eraseblock as bad */
  10. -#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t)
  11. +#define MEMSETBADBLOCK _IOW('M', 12, off_t)
  12. /* Set OTP (One-Time Programmable) mode (factory vs. user) */
  13. #define OTPSELECT _IOR('M', 13, int)
  14. /* Get number of OTP (One-Time Programmable) regions */