From c900dff50cb7a6c21194aacd0ef2bfe734f7de8e Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 26 Apr 2009 08:19:42 +0300 Subject: libmtd: rename num field This is a preparation for the coming sysfs support. Signed-off-by: Artem Bityutskiy --- ubi-utils/include/libmtd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils/include') 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; -- cgit v1.2.3