Some checks failed
Build Kernel / Set targets (push) Has been cancelled
Build all core packages / build (malta/be) (push) Has been cancelled
Build all core packages / build (x86/64) (push) Has been cancelled
Build host tools / build-macos-latest (push) Has been cancelled
Build host tools / build-linux-buildbot (push) Has been cancelled
Build Kernel / Build Kernel with external toolchain (push) Has been cancelled
Build Kernel / Check Kernel patches (push) Has been cancelled
Build host tools / push-tools-container (push) Has been cancelled
15 lines
663 B
Diff
15 lines
663 B
Diff
--- a/include/mtd/mtd-abi.h
|
|
+++ b/include/mtd/mtd-abi.h
|
|
@@ -171,9 +171,9 @@ struct otp_info {
|
|
/* Get info about OOB modes (e.g., RAW, PLACE, AUTO) - legacy interface */
|
|
#define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo)
|
|
/* Check if an eraseblock is bad */
|
|
-#define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t)
|
|
+#define MEMGETBADBLOCK _IOW('M', 11, loff_t)
|
|
/* Mark an eraseblock as bad */
|
|
-#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t)
|
|
+#define MEMSETBADBLOCK _IOW('M', 12, loff_t)
|
|
/* Set OTP (One-Time Programmable) mode (factory vs. user) */
|
|
#define OTPSELECT _IOR('M', 13, int)
|
|
/* Get number of OTP (One-Time Programmable) regions */
|