tools/mm-macros: update to 0.9.8
[openwrt/openwrt.git] / tools / mtd-utils / patches / 134-freebsd_loff_t.patch
1 --- a/include/mtd/mtd-abi.h
2 +++ b/include/mtd/mtd-abi.h
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, loff_t)
9 /* Mark an eraseblock as bad */
10 -#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t)
11 +#define MEMSETBADBLOCK _IOW('M', 12, loff_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 */