diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-04-20 14:46:33 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-04-20 16:29:43 +0300 |
commit | 3ec498778b26134f82bca32c0dc0a71befc48f29 (patch) | |
tree | 4a541c843c1ed7e5723be964b69c4d8dac1f33f1 /ubi-utils/include/libscan.h | |
parent | fc85dfd76f97387ccddb46861effa6c386901218 (diff) |
libmtd: rename mtd_info
Rename 'struct mtd_info' to 'struct mtd_dev_info' to reflect the
fact that it provides information about a specific MTD device.
Also, this is more consistent with libubi.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libscan.h')
-rw-r--r-- | ubi-utils/include/libscan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libscan.h b/ubi-utils/include/libscan.h index 8597b98..3ba291f 100644 --- a/ubi-utils/include/libscan.h +++ b/ubi-utils/include/libscan.h @@ -87,7 +87,7 @@ struct ubi_scan_info int data_offs; }; -struct mtd_info; +struct mtd_dev_info; /** * ubi_scan - scan an MTD device. @@ -97,7 +97,7 @@ struct mtd_info; * @verbose: verbose mode: %0 - be silent, %1 - output progress information, * 2 - debugging output mode */ -int ubi_scan(struct mtd_info *mtd, int fd, struct ubi_scan_info **info, +int ubi_scan(struct mtd_dev_info *mtd, int fd, struct ubi_scan_info **info, int verbose); /** |