summaryrefslogtreecommitdiff
path: root/ubi-utils/include
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-26 08:19:42 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-05-08 19:07:26 +0300
commitc900dff50cb7a6c21194aacd0ef2bfe734f7de8e (patch)
tree0f961a50051784d9ba38f7cdef31950e50070b31 /ubi-utils/include
parentff17b78ed0e37eb288460d87873599eae748cde7 (diff)
libmtd: rename num 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 242ecf5..d1290e0 100644
--- a/ubi-utils/include/libmtd.h
+++ b/ubi-utils/include/libmtd.h
@@ -29,7 +29,7 @@ extern "C" {
/**
* struct mtd_dev_info - information about an MTD device.
- * @num: MTD device number
+ * @dev_num: MTD device number
* @major: major number of corresponding character device
* @minor: minor number of corresponding character device
* @type: flash type (constants like %MTD_NANDFLASH defined in mtd-abi.h)
@@ -44,7 +44,7 @@ extern "C" {
*/
struct mtd_dev_info
{
- int num;
+ int dev_num;
int major;
int minor;
int type;