summaryrefslogtreecommitdiff
path: root/tools/mtd-utils/patches/134-freebsd_loff_t.patch
blob: 68a835292ca7935c1b8288224db858cbfea34e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -114,8 +114,8 @@ struct otp_info {
 #define MEMGETREGIONINFO	_IOWR('M', 8, struct region_info_user)
 #define MEMSETOOBSEL		_IOW('M', 9, struct nand_oobinfo)
 #define MEMGETOOBSEL		_IOR('M', 10, struct nand_oobinfo)
-#define MEMGETBADBLOCK		_IOW('M', 11, __kernel_loff_t)
-#define MEMSETBADBLOCK		_IOW('M', 12, __kernel_loff_t)
+#define MEMGETBADBLOCK		_IOW('M', 11, loff_t)
+#define MEMSETBADBLOCK		_IOW('M', 12, loff_t)
 #define OTPSELECT		_IOR('M', 13, int)
 #define OTPGETREGIONCOUNT	_IOW('M', 14, int)
 #define OTPGETREGIONINFO	_IOW('M', 15, struct otp_info)