mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
3698c6a391
This updates mtd-utils in tools: 100-optional_lzo.patch and 101-ubifs-optional_lzo.patch are now uneeded as a WITHOUT_LZO flag is provided by the upstream sources. All remaining patches are refreshed for the new version. 135-mkubifs_optional_lzo.patch was created to respect WITHOUT_LZO also in mkubifs. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 30769
14 lines
622 B
Diff
14 lines
622 B
Diff
--- 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)
|