summaryrefslogtreecommitdiff
path: root/ubi-utils/include
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-26 08:15:47 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-05-08 19:07:26 +0300
commitff17b78ed0e37eb288460d87873599eae748cde7 (patch)
treec5f38c0c1b4b8cb869f1f93406d88b66108cf783 /ubi-utils/include
parent2d57b66a576109db6a0a538377b744c06ed47451 (diff)
libmtd: rename rdonly field
This is a preparation for the coming sysfs support. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include')
-rw-r--r--ubi-utils/include/libmtd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libmtd.h b/ubi-utils/include/libmtd.h
index 2d7d451..242ecf5 100644
--- a/ubi-utils/include/libmtd.h
+++ b/ubi-utils/include/libmtd.h
@@ -39,7 +39,7 @@ extern "C" {
* @eb_size: eraseblock size
* @min_io_size: minimum input/output unit size
* @subpage_size: sub-page size
- * @rdonly: non-zero if the device is read-only
+ * @writable: zero if the device is read-only
* @bb_allowed: non-zero if the MTD device may have bad eraseblocks
*/
struct mtd_dev_info
@@ -54,7 +54,7 @@ struct mtd_dev_info
int eb_size;
int min_io_size;
int subpage_size;
- unsigned int rdonly:1;
+ unsigned int writable:1;
unsigned int bb_allowed:1;
};