aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/mtd.h1
-rw-r--r--include/mtd/mtd-abi.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 5326435a7571..43b7d72c6116 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -216,6 +216,7 @@ struct mtd_info {
216 /* Chip-supported device locking */ 216 /* Chip-supported device locking */
217 int (*lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); 217 int (*lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
218 int (*unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); 218 int (*unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
219 int (*is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
219 220
220 /* Power Management functions */ 221 /* Power Management functions */
221 int (*suspend) (struct mtd_info *mtd); 222 int (*suspend) (struct mtd_info *mtd);
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index be51ae2bd0ff..e12872e3c694 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -110,6 +110,7 @@ struct otp_info {
110#define MEMERASE64 _IOW('M', 20, struct erase_info_user64) 110#define MEMERASE64 _IOW('M', 20, struct erase_info_user64)
111#define MEMWRITEOOB64 _IOWR('M', 21, struct mtd_oob_buf64) 111#define MEMWRITEOOB64 _IOWR('M', 21, struct mtd_oob_buf64)
112#define MEMREADOOB64 _IOWR('M', 22, struct mtd_oob_buf64) 112#define MEMREADOOB64 _IOWR('M', 22, struct mtd_oob_buf64)
113#define MEMISLOCKED _IOR('M', 23, struct erase_info_user)
113 114
114/* 115/*
115 * Obsolete legacy interface. Keep it in order not to break userspace 116 * Obsolete legacy interface. Keep it in order not to break userspace