From 3ec498778b26134f82bca32c0dc0a71befc48f29 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 20 Apr 2009 14:46:33 +0300 Subject: 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 --- ubi-utils/include/libscan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils/include/libscan.h') 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); /** -- cgit v1.2.3