1 --- a/include/mtd/mtd-abi.h
2 +++ b/include/mtd/mtd-abi.h
4 #define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user)
5 #define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo)
6 #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo)
7 -#define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t)
8 -#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t)
9 +#define MEMGETBADBLOCK _IOW('M', 11, loff_t)
10 +#define MEMSETBADBLOCK _IOW('M', 12, loff_t)
11 #define OTPSELECT _IOR('M', 13, int)
12 #define OTPGETREGIONCOUNT _IOW('M', 14, int)
13 #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info)